From fb30e73b7cf6b9ad0ad75aadf73679796789f51c Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Thu, 9 Jun 2011 10:54:12 +1000 Subject: Revert to using localtime() and rand() Some platforms don't have localtime_r() and rand_r() --- jim-win32compat.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'jim-win32compat.h') 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); -- cgit v1.1