diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2006-01-10 01:01:03 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2006-01-10 01:01:03 +0000 |
commit | ad24b8e6eef1f860c888ecfd2440c4761e3a9910 (patch) | |
tree | 89a600e3c1bca7b50950fd77cd4f40e8ccfdf3a6 | |
parent | c08c8529e707ded90f5b3366a9c17fa7d435e978 (diff) | |
download | postgresql-ad24b8e6eef1f860c888ecfd2440c4761e3a9910.tar.gz postgresql-ad24b8e6eef1f860c888ecfd2440c4761e3a9910.zip |
remove unneeded defines for uid_t and gid_t, which conflict with perl's typedefs.
-rw-r--r-- | src/include/port/win32.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 5bf6ce208fc..1823c2ef459 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.49 2005/10/25 15:15:16 tgl Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.50 2006/01/10 01:01:03 adunstan Exp $ */ /* undefine and redefine after #include */ #undef mkdir @@ -165,15 +165,11 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov /* * Supplement to <sys/types.h>. * - * Perl already has conflicting defines for uid_t and gid_t. + * Perl already has typedefs for uid_t and gid_t. */ #ifndef PLPERL_HAVE_UID_GID typedef int uid_t; typedef int gid_t; -#else -/* These are redefined by perl. */ -#define uid_t int -#define gid_t int #endif typedef long key_t; |