Debian Codegraph @

ref10/include/cross_platform.h

raw symbols SCIP
1 #cxx . . $ `<file>/ref10/include/cross_platform.h`/ifndef cross_platform_h
2 #define cross_platform_hcxx . . $ `ref10/include/cross_platform.h:2:9`!
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__cxx . . $ `<built-in>:398:9`!) || defined(__unix__cxx . . $ `<built-in>:395:9`!) || defined(_POSIX_VERSION)
9 // On Apple, Linux, UNIX or POSIX (using gcc) no such marking is required.
10 # define IMPORTcxx . . $ `ref10/include/cross_platform.h:10:12`!
11 # define EXPORTcxx . . $ `ref10/include/cross_platform.h:11:12`!
12 #else
13 # error "Unsupported operating system (neither UNIX nor Windows)."
14 #endif
15
16 #ifdef BUILDcxx . . $ `<built-in>:410:9`!
17 # define INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! EXPORTcxx . . $ `ref10/include/cross_platform.h:11:12`!
18 #else
19 # define INTERFACE IMPORT
20 #endif
21
22 #endif