Salome HOME
23627: [IMACS] ASERIS: project point to the mesh and create a slot
[plugins/netgenplugin.git] / src / NETGENPlugin / NETGENPlugin_Defs.hxx
index 1a64251c1a2c16a77294bb327533e0b1dc738d91..0e55fd9cae357e5872802ee49e15aeb454cd7afa 100755 (executable)
 #define _NETGENPlugin_DEFS_HXX_
 
 #ifdef WIN32
+
   #if defined NETGENPLUGIN_EXPORTS || defined NETGENEngine_EXPORTS
     #define NETGENPLUGIN_EXPORT __declspec( dllexport )
   #else
     #define NETGENPLUGIN_EXPORT __declspec( dllimport )
   #endif
+
+  #if defined(NETGEN_V5)
+    #define NETGENPLUGIN_DLL_HEADER DLL_HEADER
+  #else
+    #define NETGENPLUGIN_DLL_HEADER
+  #endif
+
 #else
+
   #define NETGENPLUGIN_EXPORT
+  #define NETGENPLUGIN_DLL_HEADER
+
 #endif
 
 #endif