diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-07-07 13:50:29 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-07-07 21:16:07 +1000 |
commit | 981a0d901de47d09993233f28b71cf9ff1d1e5e1 (patch) | |
tree | 4609f18de548a833cda46e7156b7aa96609939f6 /make-bootstrap-jim | |
parent | f828399b2034b8dfb03d48a8cbff33a1924e1ed7 (diff) | |
download | jimtcl-981a0d901de47d09993233f28b71cf9ff1d1e5e1.zip jimtcl-981a0d901de47d09993233f28b71cf9ff1d1e5e1.tar.gz jimtcl-981a0d901de47d09993233f28b71cf9ff1d1e5e1.tar.bz2 |
Do just enough to make Jim useable with msys/mingw
Convert some paths from backslashes to forward slashes
Handle splitting/joining paths which look like z:/abc/def
Identify the platform as mingw
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'make-bootstrap-jim')
-rwxr-xr-x | make-bootstrap-jim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/make-bootstrap-jim b/make-bootstrap-jim index 4f492f8..92a1037 100755 --- a/make-bootstrap-jim +++ b/make-bootstrap-jim @@ -59,10 +59,14 @@ done # Can we make a bootstrap jimsh work even on mingw32? cat <<EOF -#if defined(__MINGW32__) || defined(__MINGW64__) +#if defined(__MINGW32__) +#define TCL_PLATFORM_OS "windows" +#define TCL_PLATFORM_PLATFORM "mingw" #define HAVE_MKDIR_ONE_ARG #define HAVE_SYSTEM #else +#define TCL_PLATFORM_OS "unknown" +#define TCL_PLATFORM_PLATFORM "unix" #define HAVE_VFORK #define HAVE_WAITPID #endif |