]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libpq/patches/windows/python_lib.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libpq / patches / windows / python_lib.patch
CommitLineData
1e59de90
TL
1diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h\r
2index 3a1f0d56d..6a8a09a20 100644\r
3--- a/src/pl/plpython/plpython.h \r
4+++ b/src/pl/plpython/plpython.h\r
5@@ -46,12 +46,10 @@\r
6 #if defined(_MSC_VER) && defined(_DEBUG)\r
7 /* Python uses #pragma to bring in a non-default libpython on VC++ if\r
8 * _DEBUG is defined */\r
9-#undef _DEBUG\r
10 /* Also hide away errcode, since we load Python.h before postgres.h */\r
11 #define errcode __msvc_errcode\r
12 #include <Python.h>\r
13 #undef errcode\r
14-#define _DEBUG\r
15 #elif defined (_MSC_VER)\r
16 #define errcode __msvc_errcode\r
17 #include <Python.h>\r