aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl84/files/patch-warnings
blob: ee2cab063834413408f00db1138713730846627f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Quiet the noisy "already defined" warning triggered, when building with TCL_THREADS.

--- ../unix/tclUnixPort.h   Tue Dec  6 04:01:07 2005
+++ ../unix/tclUnixPort.h   Tue Jun 27 15:16:21 2006
@@ -607,4 +607,7 @@
 #endif
 EXTERN char *              TclpInetNtoa(struct in_addr);
+#ifdef inet_ntoa
+#  undef inet_ntoa
+#endif
 #define inet_ntoa(x)   TclpInetNtoa(x)
 #else