From: patthoyts Date: Wed, 31 Jan 2007 13:23:09 +0000 (+0000) Subject: Made the HP-UX patch more specific as if affected AIX builds (from Jeff Hobbs) X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=8790f240ca2ae6ff94ea760a23ec988ec4812302;p=tcludp Made the HP-UX patch more specific as if affected AIX builds (from Jeff Hobbs) --- diff --git a/ChangeLog b/ChangeLog index fb87f92..b9a0d91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-31 Pat Thoyts + + * generic/udp_tcl.c: Turns out the HP-UX patch break buiding on + AIX so made the check more specific (from Jeff Hobbs again). + 2007-01-21 Pat Thoyts * generic/udp_tcl.c: Applied HP-UX patch #1639930 from tclguy. diff --git a/generic/udp_tcl.c b/generic/udp_tcl.c index 5c367d6..05a84a0 100644 --- a/generic/udp_tcl.c +++ b/generic/udp_tcl.c @@ -46,7 +46,7 @@ typedef int socklen_t; #define IP_TTL 4 #endif -#ifdef _XOPEN_SOURCE_EXTENDED +#if defined(_XOPEN_SOURCE_EXTENDED) && defined(__hpux) /* * This won't get defined on HP-UX if _XOPEN_SOURCE_EXTENDED is defined, * but we need it and TEA causes this macro to be defined.