summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-21 11:57:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-21 11:57:59 (GMT)
commit8d8c38c7c7c041d78aa424c6c75b9e56cdd29192 (patch)
tree6a3d302a05ef2fcf0dbb551b697ca261be61d978 /unix
parentdcb4da22fa14ad5336a92fc0ae0dd02ef0c64070 (diff)
downloadtcl-8d8c38c7c7c041d78aa424c6c75b9e56cdd29192.zip
tcl-8d8c38c7c7c041d78aa424c6c75b9e56cdd29192.tar.gz
tcl-8d8c38c7c7c041d78aa424c6c75b9e56cdd29192.tar.bz2
Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support it's even not necessary any more (except for fake-rfc2553, but mutexes are used here already) , but it's in the internal stub table so we cannot remove it until 9.0
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPort.h2
-rw-r--r--unix/tclUnixThrd.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index fde1909..2ade1c0 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -700,8 +700,6 @@ typedef int socklen_t;
#ifdef TCL_THREADS
# include <pthread.h>
-# undef inet_ntoa
-# define inet_ntoa(x) TclpInetNtoa(x)
#endif /* TCL_THREADS */
/* FIXME - Hyper-enormous platform assumption! */
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index 789dbb6..f469341 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -659,6 +659,7 @@ TclpReaddir(
return TclOSreaddir(dir);
}
+#undef TclpInetNtoa
char *
TclpInetNtoa(
struct in_addr addr)