[Box Backup-commit] COMMIT r2040 - box/trunk/lib/common
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sun Jan 20 20:00:01 GMT 2008
Author: chris
Date: 2008-01-20 20:00:01 +0000 (Sun, 20 Jan 2008)
New Revision: 2040
Modified:
box/trunk/lib/common/BoxPlatform.h
Log:
Fix the test for HAVE_DECL_DIRFD, which is 0 on solaris, not undefined.
(I love the consistency of autotools).
Modified: box/trunk/lib/common/BoxPlatform.h
===================================================================
--- box/trunk/lib/common/BoxPlatform.h 2008-01-20 19:55:58 UTC (rev 2039)
+++ box/trunk/lib/common/BoxPlatform.h 2008-01-20 20:00:01 UTC (rev 2040)
@@ -169,7 +169,7 @@
// We cannot define macros with arguments directly using AC_DEFINE,
// so do it here instead of in configure.ac.
-#ifndef HAVE_DECL_DIRFD
+#if HAVE_DECL_DIRFD
#define dirfd(x) (x)->d_fd
#endif
More information about the Boxbackup-commit
mailing list