Debian Codegraph @

ref10/include/cross_platform.h

raw symbols SCIP
1 #ifndef cross_platform_h
2 #define cross_platform_h
3
4 #if defined(_WIN32)
5 // On Windows, the functions needs to explicitly be marked as import/export.
6 # define IMPORT __declspec(dllimport)
7 # define EXPORT __declspec(dllexport)
8 #elif defined(__APPLE__) || defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION)
9 // On Apple, Linux, UNIX or POSIX (using gcc) no such marking is required.
10 # define IMPORT
11 # define EXPORT
12 #else
13 # error "Unsupported operating system (neither UNIX nor Windows)."
14 #endif
15
16 #ifdef BUILD
17 # define INTERFACE EXPORT
18 #else
19 # define INTERFACE IMPORT
20 #endif
21
22 #endif