summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorBruce Momjian2006-08-08 18:49:14 +0000
committerBruce Momjian2006-08-08 18:49:14 +0000
commitc554bf878fb0b4adcb6a4f7292e055b8d4567d4b (patch)
tree7120788542ebf72802e5fc528b552a82a2e3279a /src/include/c.h
parent2392cdb7956dccb115835b605bd1ead4289998b6 (diff)
Fix definition of "errcode" for MSVC.
Hiroshi Saito
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 3aa1d918194..3aa958d7dc8 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.208 2006/07/29 17:35:07 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.209 2006/08/08 18:49:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -60,11 +60,9 @@
#if defined(_MSC_VER) || defined(__BORLANDC__)
#define WIN32_ONLY_COMPILER
-#define errcode __vc_errcode
#if defined(__BORLANDC__) || (_MSC_VER > 1400)
#include <crtdefs.h>
#endif
-#undef errcode
#endif
#include <stdio.h>