GAMS  1.4.0
GamsExport.h
Go to the documentation of this file.
1 
2 #ifndef GAMS_EXPORT_H
3 #define GAMS_EXPORT_H
4 
5 #if defined (_WIN32) && !defined (GAMS_BUILD_STATIC)
6 # if !defined (GAMS_PROPER_EXPORT_FLAG)
7 # define GAMS_PROPER_EXPORT_FLAG __declspec (dllexport)
8 # define GAMS_PROPER_IMPORT_FLAG __declspec (dllimport)
9 # endif
10 #else
11 # if !defined (GAMS_PROPER_EXPORT_FLAG)
12 # define GAMS_PROPER_EXPORT_FLAG
13 # define GAMS_PROPER_IMPORT_FLAG
14 # endif
15 #endif
16 
17 #if defined (GAMS_BUILD_DLL)
18 # define GAMS_EXPORT GAMS_PROPER_EXPORT_FLAG
19 #else
20 # define GAMS_EXPORT GAMS_PROPER_IMPORT_FLAG
21 #endif /* GAMS_BUILD_DLL */
22 
23 #endif /* GAMS_EXPORT_H */