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
6 #if defined(_MSC_VER) && defined(_DEBUG)
7 /* Python uses #pragma to bring in a non-default libpython on VC++ if
10 /* Also hide away errcode, since we load Python.h before postgres.h */
11 #define errcode __msvc_errcode
15 #elif defined (_MSC_VER)
16 #define errcode __msvc_errcode