diff options
author | antirez <antirez> | 2005-04-05 17:59:43 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-04-05 17:59:43 +0000 |
commit | 9154cc90eba5229081a760ba5cbee91d0c373a2a (patch) | |
tree | 28acf46c2b38880b3ae64e606a49aeb753708f3f /jim-win32.c | |
parent | f3ca5f7571d1289d8fee53687fba4ba9c4c5e865 (diff) | |
download | jimtcl-9154cc90eba5229081a760ba5cbee91d0c373a2a.zip jimtcl-9154cc90eba5229081a760ba5cbee91d0c373a2a.tar.gz jimtcl-9154cc90eba5229081a760ba5cbee91d0c373a2a.tar.bz2 |
Disabled from jim-win32.c commands that need include <psapi.h>
because this is not generally available.
Diffstat (limited to 'jim-win32.c')
-rw-r--r-- | jim-win32.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <patthoyts@users.sourceforge.net> * - * $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 <tchar.h> #include <shellapi.h> #include <lmcons.h> +#if 0 #include <psapi.h> +#endif #include <ctype.h> #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); |