From 680ea6a6df345218f655eaad2c25f98900487438 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 2 Jun 2011 17:27:30 -0400 Subject: [PATCH] Looks like we can't declare getpeereid on Windows anyway. ... for lack of the uid_t and gid_t typedefs. Per buildfarm. --- src/include/port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/port.h b/src/include/port.h index d7295e3132..4c7ed64317 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -395,7 +395,7 @@ extern void srand48(long seed); extern int getopt(int nargc, char *const * nargv, const char *ostr); #endif -#ifndef HAVE_GETPEEREID +#if !defined(HAVE_GETPEEREID) && !defined(WIN32) extern int getpeereid(int sock, uid_t *uid, gid_t *gid); #endif -- 2.40.0