8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd8528 commit 21d3ae0Copy full SHA for 21d3ae0
src/include/port/solaris.h
@@ -1,4 +1,4 @@
1
-/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.17 2007/11/15 21:14:44 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.18 2010/01/28 11:36:14 mha Exp $ */
2
3
/*
4
* Sort this out for all operating systems some time. The __xxx
@@ -36,3 +36,11 @@
36
* still use our own fix for the buggy version.
37
*/
38
#define HAVE_BUGGY_SOLARIS_STRTOD
39
+
40
+/*
41
+ * Many versions of Solaris are missing the definition of INADDR_NONE
42
+ */
43
+#ifndef INADDR_NONE
44
+#define INADDR_NONE ((in_addr_t)(-1))
45
+#endif
46
0 commit comments