projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2176c7
)
impatomic: add multiple-inclusion guards
author
Brian Norris
<banorris@uci.edu>
Thu, 11 Oct 2012 17:18:18 +0000
(10:18 -0700)
committer
Brian Norris
<banorris@uci.edu>
Thu, 11 Oct 2012 17:18:18 +0000
(10:18 -0700)
include/impatomic.h
patch
|
blob
|
history
diff --git
a/include/impatomic.h
b/include/impatomic.h
index 0122c69602b33ca0b6231821f74d012468f1e884..ae0796f0da4100de7d6c7a04623fb1388002303b 100644
(file)
--- a/
include/impatomic.h
+++ b/
include/impatomic.h
@@
-1,3
+1,6
@@
+#ifndef __IMPATOMIC_H__
+#define __IMPATOMIC_H__
+
#include "memoryorder.h"
#include "cmodelint.h"
@@
-3985,3
+3988,4
@@
T* atomic<T*>::fetch_sub( ptrdiff_t __v__, memory_order __x__ ) volatile
} // namespace std
#endif
+#endif /* __IMPATOMIC_H__ */