Commit dbd8339a authored by Georg Brandl's avatar Georg Brandl

Bug #854823: socketmodule now builds on Sun platforms even when

INET_ADDRSTRLEN is not defined.
parent 8f7c54ea
...@@ -224,6 +224,9 @@ Core and builtins ...@@ -224,6 +224,9 @@ Core and builtins
Extension Modules Extension Modules
----------------- -----------------
- Bug #854823: socketmodule now builds on Sun platforms even when
INET_ADDRSTRLEN is not defined.
- Patch #1393157: os.startfile() now has an optional argument to specify - Patch #1393157: os.startfile() now has an optional argument to specify
a "command verb" to invoke on the file. a "command verb" to invoke on the file.
......
...@@ -215,8 +215,8 @@ shutdown(how) -- shut down traffic in one or both directions\n\ ...@@ -215,8 +215,8 @@ shutdown(how) -- shut down traffic in one or both directions\n\
/* Irix 6.5 fails to define this variable at all. This is needed /* Irix 6.5 fails to define this variable at all. This is needed
for both GCC and SGI's compiler. I'd say that the SGI headers for both GCC and SGI's compiler. I'd say that the SGI headers
are just busted. */ are just busted. Same thing for Solaris. */
#if defined(__sgi) && !defined(INET_ADDRSTRLEN) #if (defined(__sgi) || defined(sun)) && !defined(INET_ADDRSTRLEN)
#define INET_ADDRSTRLEN 16 #define INET_ADDRSTRLEN 16
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment