aboutsummaryrefslogtreecommitdiffstats
path: root/stdtime
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-31 13:39:04 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-31 13:39:04 +0000
commit45a6823d4242225395dfc0324d3dfda6967d17d2 (patch)
tree8ca6e09429bc6606d01e0c84d9652699b9baf15b /stdtime
parent7764126fc3a4c4498bf2ba5fbce09c85840fe4c3 (diff)
Don't redefine _THREAD_SAFE (bug #2332)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3688 f38db490-d61c-443f-a65b-d21fe96a405b
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>