summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authormdejong <mdejong>2003-06-24 08:53:30 (GMT)
committermdejong <mdejong>2003-06-24 08:53:30 (GMT)
commit0233c0de367c70279a9efa8fe0eeb9b673677ad6 (patch)
treee0693170da1c0c8032d21fdb7d64066605aaef22 /unix
parentb21c49b0be09228b0afc3a412ce6702c0365602d (diff)
downloadtcl-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]
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPort.h3
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)