diff options
| author | mdejong <mdejong> | 2003-06-24 08:53:30 (GMT) |
|---|---|---|
| committer | mdejong <mdejong> | 2003-06-24 08:53:30 (GMT) |
| commit | 014b8d2cb8fe3e9f3f4bc4d0a8d1d8832c525da1 (patch) | |
| tree | e0693170da1c0c8032d21fdb7d64066605aaef22 /unix | |
| parent | 9e225c104bc74cbef91e97a180cab630c6b9f2f3 (diff) | |
| download | tcl-014b8d2cb8fe3e9f3f4bc4d0a8d1d8832c525da1.zip tcl-014b8d2cb8fe3e9f3f4bc4d0a8d1d8832c525da1.tar.gz tcl-014b8d2cb8fe3e9f3f4bc4d0a8d1d8832c525da1.tar.bz2 | |
* unix/tclUnixPort.h: #undef inet_ntoa before
#define to avoid compiler warning under freebsd.
[Bug 745844]
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/tclUnixPort.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
