EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Platform.hh
1 #ifndef EUDAQ_INCLUDED_Platform
2 #define EUDAQ_INCLUDED_Platform
3 
4 #ifndef EUDAQ_PLATFORM
5 #define EUDAQ_PLATFORM PF_WIN32
6 #endif
7 
8 #define PF_LINUX 1
9 #define PF_MACOSX 2
10 #define PF_CYGWIN 3
11 #define PF_WIN32 4
12 
13 #define EUDAQ_PLATFORM_IS(P) (EUDAQ_PLATFORM == PF_##P)
14 
15 #ifdef WIN32
16 #define DLLEXPORT __declspec(dllexport)
17 
18 #else
19 
20 #define DLLEXPORT
21 
22 #endif
23 
24 #endif // EUDAQ_INCLUDED_Platform