]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMImpl/GEOM_GEOMImpl.hxx
Salome HOME
Replace deprecated WNT macro definition by WIN32.
[modules/geom.git] / src / GEOMImpl / GEOM_GEOMImpl.hxx
index 7e277ede49b82c59cb10dcb4de3e5f9c40c8b685..4dbfc0ef65417d2eb2b0668b19ac22a808eb8ddb 100755 (executable)
 #ifndef _GEOM_GEOMImpl_HXX_
 #define _GEOM_GEOMImpl_HXX_
 
-#ifdef WNT
- #if defined GEOMIMPL_EXPORTS || defined GEOMImpl_EXPORTS
-  #if defined WIN32
-   #define GEOMIMPL_EXPORT __declspec( dllexport )
+#ifdef WIN32
+  #if defined GEOMIMPL_EXPORTS || defined GEOMImpl_EXPORTS
+    #define GEOMIMPL_EXPORT __declspec( dllexport )
   #else
-   #define GEOMIMPL_EXPORT
+    #define GEOMIMPL_EXPORT __declspec( dllimport )
   #endif
  #else
-  #if defined WIN32
-   #define GEOMIMPL_EXPORT __declspec( dllimport )
-  #else
-   #define GEOMIMPL_EXPORT
-  #endif
- #endif
-#else
- #define GEOMIMPL_EXPORT
+    #define GEOMIMPL_EXPORT
 #endif
 
 #endif