[Box Backup-commit] COMMIT r2361 - box/trunk/lib/common

boxbackup-dev@boxbackup.org boxbackup-dev@boxbackup.org
Fri, 24 Oct 2008 22:08:27 +0100 (BST)


Author: chris
Date: 2008-10-24 22:08:27 +0100 (Fri, 24 Oct 2008)
New Revision: 2361

Modified:
   box/trunk/lib/common/BoxPlatform.h
Log:
Check whether HAVE_UCRED_H is defined, not whether its value is 1.


Modified: box/trunk/lib/common/BoxPlatform.h
===================================================================
--- box/trunk/lib/common/BoxPlatform.h	2008-10-24 21:06:49 UTC (rev 2360)
+++ box/trunk/lib/common/BoxPlatform.h	2008-10-24 21:08:27 UTC (rev 2361)
@@ -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