diff options
author | mdejong <mdejong> | 2003-06-24 08:53:30 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-06-24 08:53:30 (GMT) |
commit | 0233c0de367c70279a9efa8fe0eeb9b673677ad6 (patch) | |
tree | e0693170da1c0c8032d21fdb7d64066605aaef22 | |
parent | b21c49b0be09228b0afc3a412ce6702c0365602d (diff) | |
download | tcl-0233c0de367c70279a9efa8fe0eeb9b673677ad6.zip tcl-0233c0de367c70279a9efa8fe0eeb9b673677ad6.tar.gz tcl-0233c0de367c70279a9efa8fe0eeb9b673677ad6.tar.bz2 |
* unix/tclUnixPort.h: #undef inet_ntoa before
#define to avoid compiler warning under freebsd.
[Bug 745844]
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | unix/tclUnixPort.h | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2003-06-24 Mo DeJong <mdejong@users.sourceforge.net> + + * unix/tclUnixPort.h: #undef inet_ntoa before + #define to avoid compiler warning under freebsd. + [Bug 745844] + 2003-06-23 Pat Thoyts <patthoyts@users.sourceforge.net> * 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) |