]> git.proxmox.com Git - ceph.git/blob - 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
1 diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h
2 index 3a1f0d56d..6a8a09a20 100644
3 --- a/src/pl/plpython/plpython.h
4 +++ b/src/pl/plpython/plpython.h
5 @@ -46,12 +46,10 @@
6 #if defined(_MSC_VER) && defined(_DEBUG)
7 /* Python uses #pragma to bring in a non-default libpython on VC++ if
8 * _DEBUG is defined */
9 -#undef _DEBUG
10 /* Also hide away errcode, since we load Python.h before postgres.h */
11 #define errcode __msvc_errcode
12 #include <Python.h>
13 #undef errcode
14 -#define _DEBUG
15 #elif defined (_MSC_VER)
16 #define errcode __msvc_errcode
17 #include <Python.h>