Geant4
11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
thread_local.h
Go to the documentation of this file.
1
#ifndef CLHEP_THREAD_LOCAL_H
2
#define CLHEP_THREAD_LOCAL_H
3
4
// ======================================================================
5
//
6
// Use thread_local when the compiler declares it uses the C++11 standard
7
//
8
// ======================================================================
9
10
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7) || __clang__ || defined(WIN32) || defined(__MINGW32__)
11
#define CLHEP_THREAD_LOCAL thread_local
12
#else
13
#define CLHEP_THREAD_LOCAL
14
#endif
15
16
#endif
geant4-v11.1.1
source
externals
clhep
include
CLHEP
Utility
thread_local.h
Generated by
1.9.6