mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Looks like we can't declare getpeereid on Windows anyway.
... for lack of the uid_t and gid_t typedefs. Per buildfarm.
This commit is contained in:
parent
2021c5a53a
commit
680ea6a6df
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user