aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/solaris.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2010-02-02 19:09:37 +0000
committerMagnus Hagander <magnus@hagander.net>2010-02-02 19:09:37 +0000
commit0a2734714127b01d1f77468766d132064a1d6a97 (patch)
tree8859cdbed8bc37a1a55f529a443061d353cc28c9 /src/include/port/solaris.h
parentd8db6a6096d1b901f2ad9077148a87cd95fb3e86 (diff)
downloadpostgresql-0a2734714127b01d1f77468766d132064a1d6a97.tar.gz
postgresql-0a2734714127b01d1f77468766d132064a1d6a97.zip
Make RADIUS authentication use pg_getaddrinfo_all() to get address of
the server. Gets rid of a fairly ugly hack for Solaris, and also provides hostname and IPV6 support.
Diffstat (limited to 'src/include/port/solaris.h')
-rw-r--r--src/include/port/solaris.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/include/port/solaris.h b/src/include/port/solaris.h
index 5dc6894b795..6e7fe601a65 100644
--- a/src/include/port/solaris.h
+++ b/src/include/port/solaris.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.18 2010/01/28 11:36:14 mha Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.19 2010/02/02 19:09:37 mha Exp $ */
/*
* Sort this out for all operating systems some time. The __xxx
@@ -36,11 +36,3 @@
* still use our own fix for the buggy version.
*/
#define HAVE_BUGGY_SOLARIS_STRTOD
-
-/*
- * Many versions of Solaris are missing the definition of INADDR_NONE
- */
-#ifndef INADDR_NONE
-#define INADDR_NONE ((in_addr_t)(-1))
-#endif
-