diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-02 17:27:30 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-02 17:27:30 -0400 |
commit | 680ea6a6df345218f655eaad2c25f98900487438 (patch) | |
tree | b15f34a3d84d9506883f1bcd05239b966b965bb9 | |
parent | 2021c5a53a9dd7bb181b67475c960ae730f3a4fc (diff) | |
download | postgresql-680ea6a6df345218f655eaad2c25f98900487438.tar.gz |
Looks like we can't declare getpeereid on Windows anyway.
... for lack of the uid_t and gid_t typedefs. Per buildfarm.
-rw-r--r-- | src/include/port.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |