git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5976f23
)
r2924: Another #if that should be an #ifdef.
author
Tim Potter
<tpot@samba.org>
Tue, 12 Oct 2004 03:34:01 +0000
(
03:34
+0000)
committer
Gerald (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
patch
|
blob
|
history
diff --git
a/source3/tdb/spinlock.c
b/source3/tdb/spinlock.c
index 24c4371decc8a7858a128b32840ccc85b1d823a1..a487ee2a1036ed3e5fdbe9a60622be304ed2deab 100644
(file)
--- a/
source3/tdb/spinlock.c
+++ b/
source3/tdb/spinlock.c
@@
-27,7
+27,7
@@
#include <config.h>
#endif
-#if STANDALONE
+#if
def
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)
+#if
def STANDALONE
/* MIPSPro 7.3 has "__inline" as an extension, but not "inline. */
#define inline __inline