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
87ea6f0d
Commit
87ea6f0d
authored
Oct 06, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use #define instead of typedef for plperl because perl defines
uid_t/gid_t too.
parent
afa66ff3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/include/port/win32.h
src/include/port/win32.h
+9
-1
src/pl/plperl/plperl.c
src/pl/plperl/plperl.c
+2
-1
No files found.
src/include/port/win32.h
View file @
87ea6f0d
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.3
7 2004/10/06 09:35:23
momjian Exp $ */
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.3
8 2004/10/06 16:36:02
momjian Exp $ */
/* undefine and redefine after #include */
/* undefine and redefine after #include */
#undef mkdir
#undef mkdir
...
@@ -194,9 +194,17 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov
...
@@ -194,9 +194,17 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov
/*
/*
* Supplement to <sys/types.h>.
* Supplement to <sys/types.h>.
*
* Perl already has conflicting defines for uid_t and gid_t.
*/
*/
#ifndef PLPERL_HAVE_UID_GID
typedef
int
uid_t
;
typedef
int
uid_t
;
typedef
int
gid_t
;
typedef
int
gid_t
;
#else
/* These are redefined by perl. */
#define int uid_t;
#define int gid_t;
#endif
typedef
long
key_t
;
typedef
long
key_t
;
/*
/*
...
...
src/pl/plperl/plperl.c
View file @
87ea6f0d
...
@@ -33,10 +33,11 @@
...
@@ -33,10 +33,11 @@
* ENHANCEMENTS, OR MODIFICATIONS.
* ENHANCEMENTS, OR MODIFICATIONS.
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.5
1 2004/09/13 20:08:59 tgl
Exp $
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.5
2 2004/10/06 16:36:02 momjian
Exp $
*
*
**********************************************************************/
**********************************************************************/
#define PLPERL_HAVE_UID_GID
#include "postgres.h"
#include "postgres.h"
/* system stuff */
/* system stuff */
...
...
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