mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03: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:
@ -395,7 +395,7 @@ extern void srand48(long seed);
|
|||||||
extern int getopt(int nargc, char *const * nargv, const char *ostr);
|
extern int getopt(int nargc, char *const * nargv, const char *ostr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_GETPEEREID
|
#if !defined(HAVE_GETPEEREID) && !defined(WIN32)
|
||||||
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
|
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user