Salome HOME
Replace deprecated WNT macro definition by WIN32.
[modules/geom.git] / src / IGESExport / IGESExport.cxx
index 00371ec5ba1dd684ae72c44c175700e4b129ee4c..64f84e2f7f523593b4f5fe128cb8fec6f7a23e63 100644 (file)
 
 #include <Standard_Failure.hxx>
 
-#ifdef WNT
- #if defined IGESEXPORT_EXPORTS || defined IGESExport_EXPORTS
-  #if defined WIN32
-   #define IGESEXPORT_EXPORT __declspec( dllexport )
+#ifdef WIN32
+  #if defined IGESEXPORT_EXPORTS || defined IGESExport_EXPORTS
+    #define IGESEXPORT_EXPORT __declspec( dllexport )
   #else
-   #define IGESEXPORT_EXPORT
+    #define IGESEXPORT_EXPORT __declspec( dllimport )
   #endif
- #else
-  #if defined WIN32
-   #define IGESEXPORT_EXPORT __declspec( dllimport )
-  #else
-   #define IGESEXPORT_EXPORT
-  #endif
- #endif
 #else
- #define IGESEXPORT_EXPORT
 #define IGESEXPORT_EXPORT
 #endif
 
 //=============================================================================