projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check in insane test case...
[model-checker.git]
/
include
/
impatomic.h
diff --git
a/include/impatomic.h
b/include/impatomic.h
index ed3afa71fa048e2808d8715fb6759408361f89d6..55486197c74c2834ac58b6a8ab507529835212f6 100644
(file)
--- a/
include/impatomic.h
+++ b/
include/impatomic.h
@@
-14,6
+14,8
@@
#ifdef __cplusplus
namespace std {
#ifdef __cplusplus
namespace std {
+#else
+#include <stdbool.h>
#endif
#define CPP0X( feature )
#endif
#define CPP0X( feature )
@@
-3900,11
+3902,11
@@
T* atomic<T*>::fetch_sub( ptrdiff_t __v__, memory_order __x__ ) volatile
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-inline void atomic_thread_fence(memory_order order)
+
static
inline void atomic_thread_fence(memory_order order)
{ _ATOMIC_FENCE_(order); }
/** @todo Do we want to try to support a user's signal-handler? */
{ _ATOMIC_FENCE_(order); }
/** @todo Do we want to try to support a user's signal-handler? */
-inline void atomic_signal_fence(memory_order order)
+
static
inline void atomic_signal_fence(memory_order order)
{ /* No-op? */ }
#ifdef __cplusplus
}
{ /* No-op? */ }
#ifdef __cplusplus
}