aboutsummaryrefslogtreecommitdiff
path: root/jimsh.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 /jimsh.c
parent14c7f56961129ad63807351ece92f93e9bc76cf6 (diff)
downloadjimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.zip
jimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.tar.gz
jimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.tar.bz2
Fix win32 build
Diffstat (limited to 'jimsh.c')
-rw-r--r--jimsh.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/jimsh.c b/jimsh.c
index 1e4c1f6..617e86e 100644
--- a/jimsh.c
+++ b/jimsh.c
@@ -1,7 +1,7 @@
/* Jimsh - An interactive shell for Jim
* Copyright 2005 Salvatore Sanfilippo <antirez@invece.org>
*
- * $Id: jimsh.c,v 1.6 2005/04/07 07:27:52 antirez Exp $
+ * $Id: jimsh.c,v 1.7 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.
@@ -19,6 +19,12 @@
* limitations under the License.
*/
+#ifdef WIN32
+#define STRICT
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#endif /* WIN32 */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>