File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 12
12
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
13
13
* Portions Copyright (c) 1994, Regents of the University of California
14
14
*
15
- * $PostgreSQL: pgsql/src/include/c.h,v 1.212 2006/10/03 03:59:22 momjian Exp $
15
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.213 2006/10/03 20:33:20 tgl Exp $
16
16
*
17
17
*-------------------------------------------------------------------------
18
18
*/
58
58
#include "postgres_ext.h"
59
59
#include "pg_trace.h"
60
60
61
- #if defined(__BORLANDC__ ) || (_MSC_VER > 1400 )
61
+ #if defined(__BORLANDC__ ) || (_MSC_VER >= 1400 )
62
+ #define errcode __msvc_errcode
62
63
#include <crtdefs.h>
64
+ #undef errcode
63
65
#endif
64
66
65
67
#include <stdio.h>
Original file line number Diff line number Diff line change 1
- /* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.60 2006/10/03 03:59:22 momjian Exp $ */
1
+ /* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.61 2006/10/03 20:33:20 tgl Exp $ */
2
2
3
3
#if defined(_MSC_VER ) || defined(__BORLANDC__ )
4
4
#define WIN32_ONLY_COMPILER
@@ -272,9 +272,6 @@ typedef unsigned short mode_t;
272
272
#define inline __inline
273
273
#define __inline__ __inline
274
274
275
- #undef errcode
276
- #define errcode __msvc_errcode
277
-
278
275
#define _S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC)
279
276
#define _S_IXUSR _S_IEXEC
280
277
#define _S_IWUSR _S_IWRITE
You can’t perform that action at this time.
0 commit comments