summaryrefslogtreecommitdiff
path: root/stdtime
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-08-31 13:39:04 +0000
committerMark Spencer <markster@digium.com>2004-08-31 13:39:04 +0000
commit4a19a2644f2e4e799d4e592dcf78f18216afcafc (patch)
tree8ca6e09429bc6606d01e0c84d9652699b9baf15b /stdtime
parent066a53df8af9df7b66cae078114b82a21de6116d (diff)
Don't redefine _THREAD_SAFE (bug #2332)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'stdtime')
-rwxr-xr-xstdtime/localtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdtime/localtime.c b/stdtime/localtime.c
index ff1fa9815..1f6309e3f 100755
--- a/stdtime/localtime.c
+++ b/stdtime/localtime.c
@@ -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>