summaryrefslogtreecommitdiff
path: root/lib/common/BoxPlatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/BoxPlatform.h')
-rw-r--r--lib/common/BoxPlatform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h
index 391df3ea..af595e04 100644
--- a/lib/common/BoxPlatform.h
+++ b/lib/common/BoxPlatform.h
@@ -169,7 +169,7 @@
// We cannot define macros with arguments directly using AC_DEFINE,
// so do it here instead of in configure.ac.
-#if HAVE_DECL_DIRFD
+#if ! HAVE_DECL_DIRFD
#define dirfd(x) (x)->d_fd
#endif