Geant4
11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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
geant4-v11.2.2
source
externals
clhep
include
CLHEP
Utility
use_atomic.h
Generated by
1.12.0