Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
6c56d469
Commit
6c56d469
authored
Mar 15, 2018
by
Lynn Garren
Browse files
AppleClang requires __has_extension(c_atomic)
parent
d09594ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Utility/Utility/atomic_int.h
View file @
6c56d469
...
...
@@ -14,7 +14,7 @@
#include
<atomic>
#define CLHEP_ATOMIC_INT_TYPE std::atomic<int>
#elif __clang__
#if __has_
feature
(c_atomic)
#if __has_
extension
(c_atomic)
#include
<atomic>
#define CLHEP_ATOMIC_INT_TYPE std::atomic<int>
#else
...
...
Utility/Utility/use_atomic.h
View file @
6c56d469
...
...
@@ -14,7 +14,7 @@
#include
<atomic>
#define CLHEP_USE_ATOMIC
#elif __clang__
#if __has_
feature
(c_atomic)
#if __has_
extension
(c_atomic)
#include
<atomic>
#define CLHEP_USE_ATOMIC
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment