From 9154cc90eba5229081a760ba5cbee91d0c373a2a Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 5 Apr 2005 17:59:43 +0000 Subject: Disabled from jim-win32.c commands that need include because this is not generally available. --- jim-win32.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'jim-win32.c') diff --git a/jim-win32.c b/jim-win32.c index 0331af7..8961386 100644 --- a/jim-win32.c +++ b/jim-win32.c @@ -2,7 +2,7 @@ * * Copyright (C) 2005 Pat Thoyts * - * $Id: jim-win32.c,v 1.19 2005/03/31 12:20:21 antirez Exp $ + * $Id: jim-win32.c,v 1.20 2005/04/05 17:59:43 antirez Exp $ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,9 @@ #include #include #include +#if 0 #include +#endif #include #define JIM_EXTENSION @@ -418,6 +420,7 @@ Win32_GetSystemTime(Jim_Interp *interp, int objc, Jim_Obj *const *objv) return JIM_OK; } +#if 0 /* Disabled for now, creates problems on MSVC too */ #ifndef __MINGW32__ /* function not available on mingw */ // FIX ME: win2k+ so should do version checks really. static int @@ -456,7 +459,7 @@ Win32_GetPerformanceInfo(Jim_Interp *interp, int objc, Jim_Obj *const *objv) return JIM_OK; } #endif /* !MINGW32 */ - +#endif static int Win32_GetCursorInfo(Jim_Interp *interp, int objc, Jim_Obj *const objv[]) @@ -716,7 +719,7 @@ Jim_OnLoad(Jim_Interp *interp) CMD(GetVersion); CMD(GetTickCount); CMD(GetSystemTime); -#ifndef __MINGW32__ +#if 0 CMD(GetPerformanceInfo); #endif CMD(GetModuleHandle); -- cgit v1.1