Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0184c683
Commit
0184c683
authored
Oct 03, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rearrange MSVC errcode hack, fix incorrect _MSC_VER test. Magnus
parent
878f32fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
src/include/c.h
src/include/c.h
+4
-2
src/include/port/win32.h
src/include/port/win32.h
+1
-4
No files found.
src/include/c.h
View file @
0184c683
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/c.h,v 1.21
2 2006/10/03 03:59:22 momjian
Exp $
* $PostgreSQL: pgsql/src/include/c.h,v 1.21
3 2006/10/03 20:33:20 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -58,8 +58,10 @@
...
@@ -58,8 +58,10 @@
#include "postgres_ext.h"
#include "postgres_ext.h"
#include "pg_trace.h"
#include "pg_trace.h"
#if defined(__BORLANDC__) || (_MSC_VER > 1400)
#if defined(__BORLANDC__) || (_MSC_VER >= 1400)
#define errcode __msvc_errcode
#include <crtdefs.h>
#include <crtdefs.h>
#undef errcode
#endif
#endif
#include <stdio.h>
#include <stdio.h>
...
...
src/include/port/win32.h
View file @
0184c683
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.6
0 2006/10/03 03:59:22 momjian
Exp $ */
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.6
1 2006/10/03 20:33:20 tgl
Exp $ */
#if defined(_MSC_VER) || defined(__BORLANDC__)
#if defined(_MSC_VER) || defined(__BORLANDC__)
#define WIN32_ONLY_COMPILER
#define WIN32_ONLY_COMPILER
...
@@ -272,9 +272,6 @@ typedef unsigned short mode_t;
...
@@ -272,9 +272,6 @@ typedef unsigned short mode_t;
#define inline __inline
#define inline __inline
#define __inline__ __inline
#define __inline__ __inline
#undef errcode
#define errcode __msvc_errcode
#define _S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC)
#define _S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC)
#define _S_IXUSR _S_IEXEC
#define _S_IXUSR _S_IEXEC
#define _S_IWUSR _S_IWRITE
#define _S_IWUSR _S_IWRITE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment