Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
defs.h
Go to the documentation of this file.
1#ifndef HEP_DEFS_H
2#define HEP_DEFS_H
3
4#ifdef WIN32
5 //
6 // Define DLL export macro for WIN32 systems for
7 // importing/exporting external symbols to DLLs
8 //
9 #if defined G4LIB_BUILD_DLL
10 #if defined CLHEP_EXPORT
11 #define DLL_API __declspec( dllexport )
12 #else
13 #define DLL_API __declspec( dllimport )
14 #endif
15 #else
16 #define DLL_API
17 #endif
18#else
19 #define DLL_API
20#endif
21
22#endif /* HEP_DEFS_H */