summaryrefslogtreecommitdiff
path: root/source3/tdb
diff options
context:
space:
mode:
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