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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy