From 0233c0de367c70279a9efa8fe0eeb9b673677ad6 Mon Sep 17 00:00:00 2001 From: mdejong Date: Tue, 24 Jun 2003 08:53:30 +0000 Subject: * unix/tclUnixPort.h: #undef inet_ntoa before #define to avoid compiler warning under freebsd. [Bug 745844] --- ChangeLog | 6 ++++++ unix/tclUnixPort.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0586df9..3792f5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-06-24 Mo DeJong + + * unix/tclUnixPort.h: #undef inet_ntoa before + #define to avoid compiler warning under freebsd. + [Bug 745844] + 2003-06-23 Pat Thoyts * doc/dde.n: Committed TIP #135 which changes the diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 396b7df..1290207 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPort.h,v 1.28 2003/05/13 08:40:31 das Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.29 2003/06/24 08:53:30 mdejong Exp $ */ #ifndef _TCLUNIXPORT @@ -568,6 +568,7 @@ EXTERN char * TclpInetNtoa(struct in_addr); #define readdir(x) TclpReaddir(x) #define localtime(x) TclpLocaltime(x) #define gmtime(x) TclpGmtime(x) +#undef inet_ntoa #define inet_ntoa(x) TclpInetNtoa(x) #undef TclOSreaddir #define TclOSreaddir(x) TclpReaddir(x) -- cgit v0.12