1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Can now build with /DWIN32S_COMPAT to work (minimally) with Win32s

[originally from svn r271]
This commit is contained in:
Owen Dunn
1999-11-04 11:26:07 +00:00
parent 1fc7bb735c
commit ce35a4ab94
2 changed files with 7 additions and 2 deletions

View File

@ -124,8 +124,10 @@ void noise_get_light(void (*func) (void *, int)) {
GetSystemTimeAdjustment(&adjust[0], &adjust[1], &rubbish);
func(&adjust, sizeof(adjust));
#ifndef WIN32S_COMPAT
if (GetSystemPowerStatus(&pwrstat))
func(&pwrstat, sizeof(pwrstat));
#endif
}
/*