From: abd Date: Fri, 3 Oct 2008 11:01:37 +0000 (+0000) Subject: Win32 Porting. X-Git-Tag: RELIQUAT_4x_25102008~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8d0541f6864752af69f38da7c2d202fb6a66f536;p=modules%2Fgeom.git Win32 Porting. Correction of Export/Import defines for Win32 platform. --- 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 //=============================================================================