GOG GALAXY SDK Documentation
GalaxyExport.h
Go to the documentation of this file.
1 #ifndef GALAXY_EXPORT_H
2 #define GALAXY_EXPORT_H
3 
9 #if defined(_WIN32) || defined(_XBOX_ONE) || defined(__ORBIS__) || defined(__PROSPERO__)
10  #if defined(GALAXY_EXPORT)
11  #define GALAXY_DLL_EXPORT __declspec(dllexport)
12  #elif defined(GALAXY_NODLL)
13  #define GALAXY_DLL_EXPORT
14  #else
15  #define GALAXY_DLL_EXPORT __declspec(dllimport)
16  #endif
17 #else
18  #define GALAXY_DLL_EXPORT
19 #endif
20 
21 #if defined(_WIN32) && !defined(__ORBIS__) && !defined(_XBOX_ONE) && !defined(__PROSPERO__)
22  #define GALAXY_CALLTYPE __cdecl
23 #else
24  #define GALAXY_CALLTYPE
25 #endif
26 
27 #endif