From c29867ecadd2134e1de5a1e1053362fa09ac7b7c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 28 Sep 2019 07:55:19 +1000 Subject: [PATCH] AP_Common: removed fcntl overrides not needed with AP_Filesystem, and fixes lots of warnings with newer compilers --- libraries/AP_Common/missing/fcntl.h | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 libraries/AP_Common/missing/fcntl.h diff --git a/libraries/AP_Common/missing/fcntl.h b/libraries/AP_Common/missing/fcntl.h deleted file mode 100644 index a942f06a41..0000000000 --- a/libraries/AP_Common/missing/fcntl.h +++ /dev/null @@ -1,9 +0,0 @@ -#include_next - -/* - * we only want to define as 0 for those targets in which it doesn't make - * sense - */ -#if defined(HAVE_OCLOEXEC) && HAVE_OCLOEXEC == 0 -#define O_CLOEXEC 0 -#endif