]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/IGESImport/IGESImport.cxx
Salome HOME
Replace deprecated WNT macro definition by WIN32.
[modules/geom.git] / src / IGESImport / IGESImport.cxx
index 94d77caf9c43628a07eaba0d5a0b884a509401fc..279c3d346e176d2d58d4a210d1b744067f4f08d7 100644 (file)
 
 #include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
 
-#ifdef WNT
- #if defined IGESIMPORT_EXPORTS || defined IGESImport_EXPORTS
-  #if defined WIN32
-   #define IGESIMPORT_EXPORT __declspec( dllexport )
+#ifdef WIN32
+  #if defined IGESIMPORT_EXPORTS || defined IGESImport_EXPORTS
+    #define IGESIMPORT_EXPORT __declspec( dllexport )
   #else
-   #define IGESIMPORT_EXPORT
+    #define IGESIMPORT_EXPORT __declspec( dllimport )
   #endif
- #else
-  #if defined WIN32
-   #define IGESIMPORT_EXPORT __declspec( dllimport )
-  #else
-   #define IGESIMPORT_EXPORT
-  #endif
- #endif
 #else
- #define IGESIMPORT_EXPORT
 #define IGESIMPORT_EXPORT
 #endif
 
 //=============================================================================