-// 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