strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922fb29
)
If _POSIX_SPIN_LOCKS is defined as -1, it is not available
author
Martin Willi
<martin@revosec.ch>
Fri, 10 Aug 2012 14:55:20 +0000
(16:55 +0200)
committer
Martin Willi
<martin@revosec.ch>
Fri, 10 Aug 2012 15:02:46 +0000
(17:02 +0200)
src/libstrongswan/threading/spinlock.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/threading/spinlock.c
b/src/libstrongswan/threading/spinlock.c
index
14ac49e
..
812cf69
100644
(file)
--- a/
src/libstrongswan/threading/spinlock.c
+++ b/
src/libstrongswan/threading/spinlock.c
@@
-23,6
+23,10
@@
#include "mutex.h"
#include "lock_profiler.h"
+#if defined(_POSIX_SPIN_LOCKS) && _POSIX_SPIN_LOCKS == -1
+#undef _POSIX_SPIN_LOCKS
+#endif
+
typedef struct private_spinlock_t private_spinlock_t;
/**