diff options
author | antirez <antirez> | 2005-04-26 10:47:21 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-04-26 10:47:21 +0000 |
commit | 611a2e197dc47e322505eba4ea8b7b464987a96b (patch) | |
tree | ce22c359f09b60bba3fa630001b6121ae615fb34 /jim-win32.c | |
parent | 6d0660f216162cb3e2881fa2e87e733db5b9fe05 (diff) | |
download | jimtcl-611a2e197dc47e322505eba4ea8b7b464987a96b.zip jimtcl-611a2e197dc47e322505eba4ea8b7b464987a96b.tar.gz jimtcl-611a2e197dc47e322505eba4ea8b7b464987a96b.tar.bz2 |
mingw compilation fix (excluding the compilation of animate window win32 cmd)
Diffstat (limited to 'jim-win32.c')
-rw-r--r-- | jim-win32.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jim-win32.c b/jim-win32.c index 30ce859..0ccd612 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.28 2005/04/21 07:35:57 patthoyts Exp $ + * $Id: jim-win32.c,v 1.29 2005/04/26 10:47:21 antirez Exp $ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -315,7 +315,7 @@ Win32_ShowWindow(Jim_Interp *interp, int objc, Jim_Obj *const objv[]) return JIM_OK; } - +#ifndef MINGW /* Many needed structures/definiitons are not present in mingw */ #define F(x) { #x , x } typedef struct { const char *s; unsigned long f; } ANIMATEWINDOWFLAGSMAP; static ANIMATEWINDOWFLAGSMAP AnimateWindowFlagsMap[] = { @@ -386,6 +386,7 @@ Win32_AnimateWindow(Jim_Interp *interp, int objc, Jim_Obj *const objv[]) } return JIM_OK; } +#endif /* !MINGW */ static int Win32_GetActiveWindow(Jim_Interp *interp, int objc, Jim_Obj *const objv[]) @@ -1008,7 +1009,9 @@ Jim_OnLoad(Jim_Interp *interp) CMD(ShowWindow); CMD(MoveWindow); CMD(UpdateWindow); +#ifndef MINGW CMD(AnimateWindow); +#endif CMD(DestroyWindow); CMD(GetActiveWindow); CMD(SetActiveWindow); |