diff options
author | Sven Gothel <[email protected]> | 2010-11-07 07:42:09 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-07 07:42:09 +0100 |
commit | 8c2f02849562ea7b5ab52420c1aa798ae7aa0885 (patch) | |
tree | df4c166efa6c46d881e37725ad24d7c8c47b783e /make/stub_includes | |
parent | 8ee9681488e814d663dda14ebfc2af515eb6c167 (diff) |
Fix CG header, according to PCPP fix
Diffstat (limited to 'make/stub_includes')
-rw-r--r-- | make/stub_includes/cg/CG/cg.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/make/stub_includes/cg/CG/cg.h b/make/stub_includes/cg/CG/cg.h index 9bc366216..ef045defc 100644 --- a/make/stub_includes/cg/CG/cg.h +++ b/make/stub_includes/cg/CG/cg.h @@ -66,17 +66,17 @@ // Set up for either Win32 import/export/lib. #ifndef CGDLL_API -#ifdef WIN32 - #ifdef CGDLL_EXPORTS - #define CGDLL_API /*__declspec(dllexport) */ - #elif defined (CG_LIB) - #define CGDLL_API + #ifdef WIN32 + #ifdef CGDLL_EXPORTS + #define CGDLL_API /*__declspec(dllexport) */ + #elif defined (CG_LIB) + #define CGDLL_API + #else + #define CGDLL_API /* __declspec(dllimport) */ + #endif #else - #define CGDLL_API __declspec(dllimport) + #define CGDLL_API #endif -#else - #define CGDLL_API -#endif #endif /*************************************************************************/ |