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
801cbe33
Commit
801cbe33
authored
Sep 16, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define errcode as __msvc_errcode not __vc_errcode for MSVC builds,
per Magnus.
parent
ac733df6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/include/port/win32.h
src/include/port/win32.h
+2
-2
src/pl/plpython/plpython.c
src/pl/plpython/plpython.c
+2
-2
No files found.
src/include/port/win32.h
View file @
801cbe33
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.5
8 2006/08/10 01:41:29 momjian
Exp $ */
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.5
9 2006/09/16 13:35:49 tgl
Exp $ */
/* undefine and redefine after #include */
/* undefine and redefine after #include */
#undef mkdir
#undef mkdir
...
@@ -269,7 +269,7 @@ typedef unsigned short mode_t;
...
@@ -269,7 +269,7 @@ typedef unsigned short mode_t;
#define __inline__ __inline
#define __inline__ __inline
#undef errcode
#undef errcode
#define errcode __vc_errcode
#define errcode __
ms
vc_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
...
...
src/pl/plpython/plpython.c
View file @
801cbe33
/**********************************************************************
/**********************************************************************
* plpython.c - python as a procedural language for PostgreSQL
* plpython.c - python as a procedural language for PostgreSQL
*
*
* $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.8
7 2006/09/02 12:30:01 momjian
Exp $
* $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.8
8 2006/09/16 13:35:49 tgl
Exp $
*
*
*********************************************************************
*********************************************************************
*/
*/
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
* _DEBUG is defined */
* _DEBUG is defined */
#undef _DEBUG
#undef _DEBUG
/* Also hide away errcode, since we load Python.h before postgres.h */
/* Also hide away errcode, since we load Python.h before postgres.h */
#define errcode __vc_errcode
#define errcode __
ms
vc_errcode
#include <Python.h>
#include <Python.h>
#undef errcode
#undef errcode
#define _DEBUG
#define _DEBUG
...
...
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