"Gisle Vanem" <[EMAIL PROTECTED]> writes:
> --- mswindows.c.org Mon Sep 29 11:46:06 2003
> +++ mswindows.c Sun Oct 05 17:34:48 2003
> @@ -306,7 +306,7 @@
> DWORD set_sleep_mode (DWORD mode)
> {
> HMODULE mod = LoadLibrary ("kernel32.dll");
> - DWORD (*_SetThreadExecutionState) (DWORD) = NULL;
> + DWORD (WINAPI *_SetThreadExecutionState) (DWORD) = NULL;
> DWORD rc = (DWORD)-1;
>
> I assume Heiko didn't notice it because he doesn't have that
> function in his kernel32.dll. Heiko and Hrvoje, will you correct
> this ASAP?
I've now applied the patch, thanks. I use the following ChangeLog
entry:
2003-10-05 Gisle Vanem <[EMAIL PROTECTED]>
* mswindows.c (set_sleep_mode): Fix type of
_SetThreadExecutionState.