summaryrefslogtreecommitdiffstats
path: root/source/tdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-12 03:34:01 +0000
committerTim Potter <tpot@samba.org>2004-10-12 03:34:01 +0000
commit3e1a538dcb82aa4bf45007c82b7502d789318a76 (patch)
tree815681f1e2592d71fdf1c71d3542ee36c6055c0b /source/tdb
parentab23e92e9e9374ad1a37290e934953926fd53af7 (diff)
downloadsamba-3e1a538dcb82aa4bf45007c82b7502d789318a76.tar.gz
samba-3e1a538dcb82aa4bf45007c82b7502d789318a76.tar.xz
samba-3e1a538dcb82aa4bf45007c82b7502d789318a76.zip
r2924: Another #if that should be an #ifdef.
Diffstat (limited to 'source/tdb')
-rw-r--r--source/tdb/spinlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tdb/spinlock.c b/source/tdb/spinlock.c
index 24c4371decc..a487ee2a103 100644
--- a/source/tdb/spinlock.c
+++ b/source/tdb/spinlock.c
@@ -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