diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-20 20:00:01 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-20 20:00:01 +0000 |
commit | 445e0254ad521450d2d78b8b60ed86d1cec4e443 (patch) | |
tree | 259d572b9f377ecbea5534f63116068ef7f9a925 /lib | |
parent | 83b526d9c7ceb8be2214df72b18fdfd94d5cd689 (diff) |
Fix the test for HAVE_DECL_DIRFD, which is 0 on solaris, not undefined.
(I love the consistency of autotools).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common/BoxPlatform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h index a3d0e7ad..391df3ea 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. -#ifndef HAVE_DECL_DIRFD +#if HAVE_DECL_DIRFD #define dirfd(x) (x)->d_fd #endif |