Salome HOME
ménage
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Tools.cpp
index 65f536b389b750dd27ecfaffea7c63a0b4929e65..87f24f8151eb31769cbda52b5e5ef4724e71d715 100644 (file)
@@ -559,7 +559,7 @@ static bool checkDump(SessionPtr theSession,
   // execute the dumped
   PyGILState_STATE gstate = PyGILState_Ensure(); /* acquire python thread */
   static char aReadMode[] = "r";
-  FILE* PyFileObject = _Py_fopen(theFilename, aReadMode);
+  FILE* PyFileObject = fopen(theFilename, aReadMode);
   PyRun_SimpleFileEx(PyFileObject, theFilename, 1);
   PyGILState_Release(gstate); /* release python thread */