Salome HOME
Modif Hexablock.py
[modules/hexablock.git] / src / HEXABLOCKGUI / HEXABLOCKGUI_Export.hxx
index 833f5e45ba09948c49fcbb294de9a599fb4a8fb4..10351e7255adfbf8c2add39015edf64e0ca93488 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #ifndef _HEXABLOCKGUI_EXPORT_HXX_
 #define _HEXABLOCKGUI_EXPORT_HXX_
 
-#ifdef WNT
-#  if defined HEXABLOCKGUI_EXPORT
-#    define HEXABLOCKGUI_EXPORT __declspec( dllexport )
+#ifdef WIN32
+#  if defined HEXABLOCKGUI_EXPORTS || defined HEXABLOCK_EXPORTS
+#    define HEXABLOCK_EXPORT __declspec( dllexport )
 #  else
-#    define HEXABLOCKGUI_EXPORT __declspec( dllimport )
+#    define HEXABLOCK_EXPORT __declspec( dllimport )
 #  endif
 #else
-#  define HEXABLOCKGUI_EXPORT
+#  define HEXABLOCK_EXPORT
 #endif
 
 #endif