From: adam Date: Fri, 15 May 2009 08:35:51 +0000 (+0000) Subject: windows port X-Git-Tag: V5_1_2rc1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2fff42094312dfe466a504aff43064dfeebf0fbb;p=modules%2Fgui.git windows port --- diff --git a/src/SUITApp/SUITApp_init_python.hxx b/src/SUITApp/SUITApp_init_python.hxx index 99217a19a..3305a7f4e 100644 --- a/src/SUITApp/SUITApp_init_python.hxx +++ b/src/SUITApp/SUITApp_init_python.hxx @@ -29,7 +29,17 @@ #include #include -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;