Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad24b8e

Browse files
committed
remove unneeded defines for uid_t and gid_t, which conflict with perl's typedefs.
1 parentc08c852 commitad24b8e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

‎src/include/port/win32.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.49 2005/10/25 15:15:16 tgl Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.50 2006/01/10 01:01:03 adunstan Exp $ */
22

33
/* undefine and redefine after #include */
44
#undef mkdir
@@ -165,15 +165,11 @@ intsetitimer(int which, const struct itimerval * value, struct itimerval * ov
165165
/*
166166
* Supplement to <sys/types.h>.
167167
*
168-
* Perl already hasconflicting defines for uid_t and gid_t.
168+
* Perl already hastypedefs for uid_t and gid_t.
169169
*/
170170
#ifndefPLPERL_HAVE_UID_GID
171171
typedefintuid_t;
172172
typedefintgid_t;
173-
#else
174-
/* These are redefined by perl. */
175-
#defineuid_t int
176-
#definegid_t int
177173
#endif
178174
typedeflongkey_t;
179175

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp