summaryrefslogtreecommitdiff
path: root/lib/common/BoxPlatform.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-10-24 21:08:27 +0000
committerChris Wilson <chris+github@qwirx.com>2008-10-24 21:08:27 +0000
commit9398cf65e1bccdcb8c4d05fafc3fc34a20ad22c6 (patch)
tree687fc144127c616f0ea2159eccb289d1a11c4188 /lib/common/BoxPlatform.h
parent7b7a4b4d322f6a45239e5fedd0e9bbd5e20af501 (diff)
Check whether HAVE_UCRED_H is defined, not whether its value is 1.
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 4f7a587c..01bdbcf1 100644
--- a/lib/common/BoxPlatform.h
+++ b/lib/common/BoxPlatform.h
@@ -76,7 +76,7 @@
//
#elif HAVE_DECL_SO_PEERCRED
//
-#elif HAVE_UCRED_H && HAVE_GETPEERUCRED
+#elif defined HAVE_UCRED_H && HAVE_GETPEERUCRED
//
#else
#define PLATFORM_CANNOT_FIND_PEER_UID_OF_UNIX_SOCKET