aboutsummaryrefslogtreecommitdiff
path: root/jim-win32compat.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-06-09 10:54:12 +1000
committerSteve Bennett <steveb@workware.net.au>2011-06-09 11:45:39 +1000
commitfb30e73b7cf6b9ad0ad75aadf73679796789f51c (patch)
tree2b36460db2bf41ce18a01515065e1a60dd70b2cb /jim-win32compat.h
parentf25d6276ee487d583e35c48f3125ef388c9f7d3f (diff)
downloadjimtcl-fb30e73b7cf6b9ad0ad75aadf73679796789f51c.zip
jimtcl-fb30e73b7cf6b9ad0ad75aadf73679796789f51c.tar.gz
jimtcl-fb30e73b7cf6b9ad0ad75aadf73679796789f51c.tar.bz2
Revert to using localtime() and rand()
Some platforms don't have localtime_r() and rand_r()
Diffstat (limited to 'jim-win32compat.h')
-rw-r--r--jim-win32compat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/jim-win32compat.h b/jim-win32compat.h
index 22a1502..dab0a01 100644
--- a/jim-win32compat.h
+++ b/jim-win32compat.h
@@ -14,8 +14,6 @@
#define JIM_ANSIC
#define MKDIR_ONE_ARG
-#define rand_r(S) ((void)(S), rand())
-#define localtime_r(T,TM) ((void)(TM), localtime(T))
#define RTLD_LAZY 0
void *dlopen(const char *path, int mode);