summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--unix/tclUnixPort.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0586df9..3792f5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)