From 945498cdd52d535b0f1840d3dbd866dd581731be Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 21 Jan 2008 09:35:00 +0000 Subject: Fix DIRFD properly --- lib/common/BoxPlatform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3