Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21d3ae0

Browse files
committed
Define INADDR_NONE on Solaris when it's missing. Per a couple of buildfarm
members complaining.
1 parentbcd8528 commit21d3ae0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎src/include/port/solaris.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.17 2007/11/15 21:14:44 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.18 2010/01/28 11:36:14 mha Exp $ */
22

33
/*
44
* Sort this out for all operating systems some time. The __xxx
@@ -36,3 +36,11 @@
3636
* still use our own fix for the buggy version.
3737
*/
3838
#defineHAVE_BUGGY_SOLARIS_STRTOD
39+
40+
/*
41+
* Many versions of Solaris are missing the definition of INADDR_NONE
42+
*/
43+
#ifndefINADDR_NONE
44+
#defineINADDR_NONE ((in_addr_t)(-1))
45+
#endif
46+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp