From 801cbe3310bc52c0ab41ec66bfe3893a16255189 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 16 Sep 2006 13:35:49 +0000 Subject: Define errcode as __msvc_errcode not __vc_errcode for MSVC builds, per Magnus. --- src/pl/plpython/plpython.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pl/plpython/plpython.c') diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c index 40d9de37abb..1a80a74d829 100644 --- a/src/pl/plpython/plpython.c +++ b/src/pl/plpython/plpython.c @@ -1,7 +1,7 @@ /********************************************************************** * plpython.c - python as a procedural language for PostgreSQL * - * $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.87 2006/09/02 12:30:01 momjian Exp $ + * $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.88 2006/09/16 13:35:49 tgl Exp $ * ********************************************************************* */ @@ -11,7 +11,7 @@ * _DEBUG is defined */ #undef _DEBUG /* Also hide away errcode, since we load Python.h before postgres.h */ -#define errcode __vc_errcode +#define errcode __msvc_errcode #include #undef errcode #define _DEBUG -- cgit v1.2.3