summaryrefslogtreecommitdiff
path: root/source3/tdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-12 03:34:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:56 -0500
commit4fb2bbb32b27d26f3fcadd12ac6a89b47c5858de (patch)
tree8133c5052a76e4ebc86b584916319140e317e738 /source3/tdb
parent5976f2327b1782c7eee850d48e3c54f8cadc8ac7 (diff)
downloadsamba-4fb2bbb32b27d26f3fcadd12ac6a89b47c5858de.tar.gz
samba-4fb2bbb32b27d26f3fcadd12ac6a89b47c5858de.tar.bz2
samba-4fb2bbb32b27d26f3fcadd12ac6a89b47c5858de.zip
r2924: Another #if that should be an #ifdef.
(This used to be commit b6193f6d52a148c05b6b7cc33553f3b8ff94b64e)
Diffstat (limited to 'source3/tdb')
-rw-r--r--source3/tdb/spinlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/spinlock.c b/source3/tdb/spinlock.c
index 24c4371dec..a487ee2a10 100644
--- a/source3/tdb/spinlock.c
+++ b/source3/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