diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-08-08 18:49:14 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-08-08 18:49:14 +0000 |
commit | c554bf878fb0b4adcb6a4f7292e055b8d4567d4b (patch) | |
tree | 7120788542ebf72802e5fc528b552a82a2e3279a /src/include/port/win32.h | |
parent | 2392cdb7956dccb115835b605bd1ead4289998b6 (diff) |
Fix definition of "errcode" for MSVC.
Hiroshi Saito
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r-- | src/include/port/win32.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index fa57c25b3c2..e6057093cc4 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.54 2006/07/30 01:45:21 momjian Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.55 2006/08/08 18:49:14 momjian Exp $ */ /* undefine and redefine after #include */ #undef mkdir @@ -262,6 +262,9 @@ typedef unsigned short mode_t; #define inline __inline #define __inline__ __inline +#undef errcode +#define errcode __vc_errcode + #define _S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC) #define _S_IXUSR _S_IEXEC #define _S_IWUSR _S_IWRITE |