summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2019-07-22 17:28:25 +0000
committerPeter Eisentraut2019-07-22 17:28:25 +0000
commit7961886580a594e519ca7ed1811b464206738be5 (patch)
tree47047d8991d0918b531fe71f38b637dc086c9ffa /src/include
parent09f08930f0f6fd4a7350ac02f29124b919727198 (diff)
Revert "initdb: Change authentication defaults"
This reverts commit 09f08930f0f6fd4a7350ac02f29124b919727198. The buildfarm client needs some adjustments first.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/port.h b/src/include/port.h
index 2536a2586c5..b5c03d912b0 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -361,11 +361,6 @@ extern int fls(int mask);
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
#endif
-/* must match src/port/getpeereid.c */
-#if defined(HAVE_GETPEEREID) || defined(SO_PEERCRED) || defined(LOCAL_PEERCRED) || defined(HAVE_GETPEERUCRED)
-#define HAVE_AUTH_PEER 1
-#endif
-
#ifndef HAVE_ISINF
extern int isinf(double x);
#else