]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
windows port
authoradam <adam>
Fri, 15 May 2009 08:35:51 +0000 (08:35 +0000)
committeradam <adam>
Fri, 15 May 2009 08:35:51 +0000 (08:35 +0000)
src/SUITApp/SUITApp_init_python.hxx

index 99217a19a9de35dcbf932dd803e287c09d10e0ce..3305a7f4edb93a8181ca67c5e8ab90b482e5f6cd 100644 (file)
 #include <pthread.h> 
 #include <Python.h>
 
-struct SUIT_PYTHON
+#ifdef WNT
+#  if defined SUITAPP_EXPORTS || defined SUITApp_EXPORTS
+#    define SUITAPP_EXPORT __declspec(dllexport)
+#  else
+#   define SUITAPP_EXPORT __declspec(dllimport)
+#  endif
+#else
+#  define SUITAPP_EXPORT
+#endif
+
+struct SUITAPP_EXPORT SUIT_PYTHON
 {
   static PyThreadState *_gtstate;
   static PyInterpreterState *_interp;