r2924: Another #if that should be an #ifdef.
authorTim Potter <tpot@samba.org>
Tue, 12 Oct 2004 03:34:01 +0000 (03:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:56 +0000 (10:52 -0500)
(This used to be commit b6193f6d52a148c05b6b7cc33553f3b8ff94b64e)

source3/tdb/spinlock.c

index 24c4371decc8a7858a128b32840ccc85b1d823a1..a487ee2a1036ed3e5fdbe9a60622be304ed2deab 100644 (file)
@@ -27,7 +27,7 @@
 #include <config.h>
 #endif
 
-#if STANDALONE
+#ifdef STANDALONE
 #include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>
@@ -157,7 +157,7 @@ static inline int __spin_is_locked(spinlock_t *lock)
  * "sgi" and "_COMPILER_VERSION" are always defined by MIPSPro.
  */
 
-#if defined(STANDALONE)
+#ifdef STANDALONE
 
 /* MIPSPro 7.3 has "__inline" as an extension, but not "inline. */
 #define inline __inline