Geant4-11
source
externals
clhep
include
CLHEP
Utility
use_atomic.h
Go to the documentation of this file.
1
#ifndef CLHEP_USE_ATOMIC_GUARD_H
2
#define CLHEP_USE_ATOMIC_GUARD_H
3
4
// ======================================================================
5
//
6
// Use std::atomic when the compiler declares it uses the C++11 standard
7
//
8
// ======================================================================
9
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7) || __clang__ || WIN32
10
#include <atomic>
11
#define CLHEP_USE_ATOMIC
12
#endif
13
14
#endif
Generated by
1.9.3