Salome HOME
Fix compilation pb.
[modules/kernel.git] / src / TOOLSDS / SALOMEDS_Tool.hxx
index cbae543c03fa0ce7649d8eb1ff88c4c1ffa8256c..0c57ace2e93ba183939dda374aaa6b6c6368a7e0 100644 (file)
 #include CORBA_SERVER_HEADER(SALOMEDS)
 
 #ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined TOOLSDS_EXPORTS
+  #if defined WIN32
+   #define TOOLSDS_EXPORT __declspec( dllexport )
+  #else
+   #define TOOLSDS_EXPORT
+  #endif
+ #else
+  #if defined WIN32
+   #define TOOLSDS_EXPORT __declspec( dllimport )
+  #else
+   #define TOOLSDS_EXPORT
+  #endif
+ #endif
 #else
-#define SALOME_WNT_EXPORT
+ #define TOOLSDS_EXPORT
 #endif
 
-class SALOME_WNT_EXPORT SALOMEDS_Tool                                
+class TOOLSDS_EXPORT SALOMEDS_Tool                                
 {
-
 public:
  
   // Returns the unique temporary directory, that is defined in SALOME_TMP_DIR if this variable is set