diff options
Diffstat (limited to 'src/include/c.h')
-rw-r--r-- | src/include/c.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index 2b51e2ac0a7..bd09a430edc 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/c.h,v 1.205 2006/06/26 23:53:14 momjian Exp $ + * $PostgreSQL: pgsql/src/include/c.h,v 1.206 2006/07/06 01:55:51 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -59,6 +59,9 @@ #if defined(_MSC_VER) || defined(__BORLANDC__) #define WIN32_ONLY_COMPILER +#define errcode __vc_errcode +#include <crtdefs.h> +#undef errcode #endif #include <stdio.h> |