projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2021c5a
)
Looks like we can't declare getpeereid on Windows anyway.
author
Tom Lane
<
[email protected]
>
Thu, 2 Jun 2011 21:27:30 +0000
(17:27 -0400)
committer
Tom Lane
<
[email protected]
>
Thu, 2 Jun 2011 21:27:30 +0000
(17:27 -0400)
... for lack of the uid_t and gid_t typedefs. Per buildfarm.
src/include/port.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port.h
b/src/include/port.h
index d7295e3132798f9d506ff653677c6f816f1e4bc9..4c7ed64317748713406a84dac7eed60f2681742b 100644
(file)
--- 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
-#if
ndef HAVE_GETPEEREID
+#if
!defined(HAVE_GETPEEREID) && !defined(WIN32)
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
#endif