diff Sources/PythonLock.h @ 26:b0d1308280d8

Added the PYTHON_WINDOWS_USE_RELEASE_LIBS CMake option to allow usage of debug or release Python builds when building in debug mode under Windows with Visual Studio.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 06 Apr 2020 20:39:49 +0200
parents 7ed502b17b8f
children b2bbb516056e
line wrap: on
line diff
--- a/Sources/PythonLock.h	Fri Apr 03 12:18:45 2020 +0200
+++ b/Sources/PythonLock.h	Mon Apr 06 20:39:49 2020 +0200
@@ -22,7 +22,7 @@
 #include <orthanc/OrthancCPlugin.h>
 
 #define PY_SSIZE_T_CLEAN  /* Make "s#" use Py_ssize_t rather than int. */
-#include <Python.h>
+#include "PythonHeaderWrapper.h"
 
 #include <boost/noncopyable.hpp>
 #include <string>