mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 18:38:07 +08:00
440075a9fc
* update to 14.1 * adjust patches * add lz4 feature on !windows * version stuff * [skip actions] patch configure.ac and run autoreconf * fix some stuff * [skip actions] more details * [libpq] Add license filed to vcpkg json * [libpq] Adjust tcl version to 90g 90s and 90sg * [libpq] fail early from unsupported features * [libpq] lake xslt dependent from xml * [libpq] Update version database * [libpq] quote static * [libpq] Update Version Database Co-authored-by: Alexander Neumann <Alexander.Neumann@hamburg.de>
18 lines
596 B
Diff
18 lines
596 B
Diff
diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h
|
|
index 3a1f0d56d..6a8a09a20 100644
|
|
--- a/src/pl/plpython/plpython.h
|
|
+++ b/src/pl/plpython/plpython.h
|
|
@@ -45,12 +45,10 @@
|
|
#if defined(_MSC_VER) && defined(_DEBUG)
|
|
/* Python uses #pragma to bring in a non-default libpython on VC++ if
|
|
* _DEBUG is defined */
|
|
-#undef _DEBUG
|
|
/* Also hide away errcode, since we load Python.h before postgres.h */
|
|
#define errcode __msvc_errcode
|
|
#include <Python.h>
|
|
#undef errcode
|
|
-#define _DEBUG
|
|
#elif defined (_MSC_VER)
|
|
#define errcode __msvc_errcode
|
|
#include <Python.h>
|