Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 680ea6a

Browse files
committed
Looks like we can't declare getpeereid on Windows anyway.
... for lack of the uid_t and gid_t typedefs. Per buildfarm.
1 parent 2021c5a commit 680ea6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/port.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ extern void srand48(long seed);
395395
extern int getopt(int nargc, char *const * nargv, const char *ostr);
396396
#endif
397397

398-
#ifndef HAVE_GETPEEREID
398+
#if !defined(HAVE_GETPEEREID) && !defined(WIN32)
399399
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
400400
#endif
401401

0 commit comments

Comments
 (0)