Don't redefine _THREAD_SAFE (bug #2332)
authorMark Spencer <markster@digium.com>
Tue, 31 Aug 2004 13:39:04 +0000 (13:39 +0000)
committerMark Spencer <markster@digium.com>
Tue, 31 Aug 2004 13:39:04 +0000 (13:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3688 65c4cc65-6c06-0410-ace0-fbb531ad65f3

stdtime/localtime.c

index ff1fa98..1f6309e 100755 (executable)
@@ -21,7 +21,9 @@
  *
  * Don't mess with these unless you're really sure you know what you're doing.
  */
+#ifndef _THREAD_SAFE
 #define _THREAD_SAFE
+#endif
 #define TZ_STRLEN_MAX  255
 /* #define DEBUG */
 #include <asterisk/lock.h>