aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-10-12 20:29:05 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:57 +1000
commit92083f41130290f9e2cf1eedc5750a348fd11809 (patch)
tree7f848baf4a549979cf495c6347a6d5385e008a45 /jim.h
parent0e2703df31a67c57e23954943f7980c5cc309755 (diff)
downloadjimtcl-92083f41130290f9e2cf1eedc5750a348fd11809.zip
jimtcl-92083f41130290f9e2cf1eedc5750a348fd11809.tar.gz
jimtcl-92083f41130290f9e2cf1eedc5750a348fd11809.tar.bz2
Portability fixes
Especially for eCos, mingw32 and cygwin Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.h')
-rw-r--r--jim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/jim.h b/jim.h
index 7325eb2..79b209a 100644
--- a/jim.h
+++ b/jim.h
@@ -87,6 +87,9 @@ extern "C" {
#if defined(__MINGW32__)
#define JIM_ANSIC
+#define MKDIR_ONE_ARG
+#define rand_r(S) ((void)(S), rand())
+#define localtime_r(T,TM) ((void)(TM), localtime(T))
#endif
#ifndef HAVE_NO_AUTOCONF