diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-06-09 10:54:12 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-06-09 11:45:39 +1000 |
commit | fb30e73b7cf6b9ad0ad75aadf73679796789f51c (patch) | |
tree | 2b36460db2bf41ce18a01515065e1a60dd70b2cb /jim-win32compat.h | |
parent | f25d6276ee487d583e35c48f3125ef388c9f7d3f (diff) | |
download | jimtcl-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.h | 2 |
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); |