From 8d0541f6864752af69f38da7c2d202fb6a66f536 Mon Sep 17 00:00:00 2001 From: abd Date: Fri, 3 Oct 2008 11:01:37 +0000 Subject: [PATCH] Win32 Porting. Correction of Export/Import defines for Win32 platform. --- src/BREPImport/BREPImport.cxx | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/src/BREPImport/BREPImport.cxx b/src/BREPImport/BREPImport.cxx index cd78468ba..32db94fae 100644 --- a/src/BREPImport/BREPImport.cxx +++ b/src/BREPImport/BREPImport.cxx @@ -30,22 +30,14 @@ #include #include -#ifdef WNT - #if defined BREPIMPORT_EXPORTS - #if defined WIN32 - #define BREPIMPORT_EXPORT __declspec( dllexport ) - #else - #define BREPIMPORT_EXPORT - #endif - #else - #if defined WIN32 - #define BREPIMPORT_EXPORT __declspec( dllimport ) - #else - #define BREPIMPORT_EXPORT - #endif - #endif +#ifdef WIN32 +# ifdef BREPIMPORT_EXPORTS +# define BREPIMPORT_EXPORT __declspec( dllexport ) +# else +# define BREPIMPORT_EXPORT __declspec( dllimport ) +# endif #else - #define BREPIMPORT_EXPORT +# define BREPIMPORT_EXPORT #endif //============================================================================= -- 2.39.2