diff options
author | patthoyts <patthoyts> | 2005-04-08 14:06:00 +0000 |
---|---|---|
committer | patthoyts <patthoyts> | 2005-04-08 14:06:00 +0000 |
commit | f4a8622a0255367dfd9036ca342b02923dee1645 (patch) | |
tree | 4ca732a1278f175d8032899b2ff4464a7b068b1d /jim.c | |
parent | 14c7f56961129ad63807351ece92f93e9bc76cf6 (diff) | |
download | jimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.zip jimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.tar.gz jimtcl-f4a8622a0255367dfd9036ca342b02923dee1645.tar.bz2 |
Fix win32 build
Diffstat (limited to 'jim.c')
-rw-r--r-- | jim.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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]; |