aboutsummaryrefslogtreecommitdiff
path: root/jim.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts>2005-04-08 14:06:00 +0000
committerpatthoyts <patthoyts>2005-04-08 14:06:00 +0000
commitf4a8622a0255367dfd9036ca342b02923dee1645 (patch)
tree4ca732a1278f175d8032899b2ff4464a7b068b1d /jim.c
parent14c7f56961129ad63807351ece92f93e9bc76cf6 (diff)
downloadjimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.zip
jimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.tar.gz
jimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.tar.bz2
Fix win32 build
Diffstat (limited to 'jim.c')
-rw-r--r--jim.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/jim.c b/jim.c
index 6b688e7..3bc7f9a 100644
--- a/jim.c
+++ b/jim.c
@@ -2,7 +2,7 @@
* Copyright 2005 Salvatore Sanfilippo <antirez@invece.org>
* Copyright 2005 Clemens Hintze <c.hintze@gmx.net>
*
- * $Id: jim.c,v 1.151 2005/04/07 06:52:14 antirez Exp $
+ * $Id: jim.c,v 1.152 2005/04/08 14:06:00 patthoyts Exp $
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,7 +40,10 @@
/* Include the platform dependent libraries for
* dynamic loading of libraries. */
#ifdef JIM_DYNLIB
-#ifdef WIN32
+#if defined(_WIN32) || defined(WIN32)
+#ifndef WIN32
+#define WIN32 1
+#endif
#define STRICT
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -11439,7 +11442,7 @@ int Jim_InteractivePrompt(Jim_Interp *interp)
printf("Welcome to Jim version %d.%d, "
"Copyright (c) 2005 Salvatore Sanfilippo\n",
JIM_VERSION / 100, JIM_VERSION % 100);
- printf("CVS ID: $Id: jim.c,v 1.151 2005/04/07 06:52:14 antirez Exp $\n");
+ printf("CVS ID: $Id: jim.c,v 1.152 2005/04/08 14:06:00 patthoyts Exp $\n");
Jim_SetVariableStrWithStr(interp, "jim_interactive", "1");
while (1) {
char buf[1024];