Salome HOME
Merge branch 'ASL_TREE_STATE' into asl/hydro_porting_741
[modules/gui.git] / src / SUITApp / SUITApp_init_python.hxx
index c2e13e84e77fa12d502f262011591efe58262ef1..3d4e2231820e71adfb3a8c39f9dcad9fe66a0287 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -36,7 +36,7 @@
 
 #include <Python.h>
 
-#ifdef WNT
+#ifdef WIN32
 #  if defined SUITAPP_EXPORTS || defined SUITApp_EXPORTS
 #    define SUITAPP_EXPORT __declspec(dllexport)
 #  else
 
 struct SUITAPP_EXPORT SUIT_PYTHON
 {
-  static PyThreadState *_gtstate;
-  static PyInterpreterState *_interp;
-  static PyObject *salome_shared_modules_module;
   static bool initialized;
   static void init_python(int argc, char **argv);
-
 };
 
 #endif // _SUITAPP_INIT_PYTHON_