From 8c2f02849562ea7b5ab52420c1aa798ae7aa0885 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 7 Nov 2010 07:42:09 +0100 Subject: Fix CG header, according to PCPP fix --- make/stub_includes/cg/CG/cg.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'make/stub_includes/cg/CG') 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 /*************************************************************************/ -- cgit v1.2.3