Salome HOME
PyInterp prepare for qt6.
[modules/gui.git] / tools / PyInterp / src / PyInterp.h
old mode 100755 (executable)
new mode 100644 (file)
index b43615d..985770d
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -27,7 +27,7 @@
 
 // ========================================================
 // set dllexport type for Win platform 
-#ifdef WIN32
+#if !defined(PYINTERP_STATIC) && defined(_WIN32)
 # if defined PYINTERP_EXPORTS || defined PyInterp_EXPORTS
 #  define PYINTERP_EXPORT __declspec(dllexport)
 # else