From ad24b8e6eef1f860c888ecfd2440c4761e3a9910 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Tue, 10 Jan 2006 01:01:03 +0000 Subject: [PATCH] remove unneeded defines for uid_t and gid_t, which conflict with perl's typedefs. --- src/include/port/win32.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 5bf6ce208f..1823c2ef45 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 . * - * 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; -- 2.11.0