blob: 362a94a49b14eea0f87239e3c675d1ff01c239b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- tclUnixPort.h.orig 2015-10-23 11:50:57 UTC
+++ tclUnixPort.h
@@ -622,7 +622,9 @@ typedef int socklen_t;
# include <pthread.h>
/* #define localtime(x) TclpLocaltime(x)
* #define gmtime(x) TclpGmtime(x) */
-# undef inet_ntoa
+# ifdef inet_ntoa
+# undef inet_ntoa
+# endif
# define inet_ntoa(x) TclpInetNtoa(x)
# ifdef HAVE_PTHREAD_ATTR_GET_NP
# define TclpPthreadGetAttrs pthread_attr_get_np
|