Salome HOME
Win32 Porting.
[modules/geom.git] / src / BREPImport / BREPImport.cxx
index cd78468bad78772d030b07da48d88f735cbb9f39..32db94faeb22ff6d2ea4f22e5c8bb49fb15d7844 100644 (file)
 #include <TCollection_AsciiString.hxx>
 #include <TopoDS_Shape.hxx>
 
-#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
 
 //=============================================================================