From f4a8622a0255367dfd9036ca342b02923dee1645 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Fri, 8 Apr 2005 14:06:00 +0000 Subject: Fix win32 build --- jim.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'jim.c') 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 * Copyright 2005 Clemens Hintze * - * $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 @@ -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]; -- cgit v1.1