diff options
Diffstat (limited to 'unix/tclUnixThrd.c')
| -rw-r--r-- | unix/tclUnixThrd.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 1f0281d..d34bc88 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -15,8 +15,6 @@  #ifdef TCL_THREADS -#include <pthread.h> -  typedef struct ThreadSpecificData {      char nabuf[16];  } ThreadSpecificData; @@ -661,6 +659,7 @@ TclpReaddir(      return TclOSreaddir(dir);  } +#undef TclpInetNtoa  char *  TclpInetNtoa(      struct in_addr addr) @@ -728,6 +727,7 @@ TclpFreeAllocCache(  	 */  	TclFreeAllocCache(ptr); +	pthread_setspecific(key, NULL);      } else if (initialized) {  	/* | 
