mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 12:02:47 -05:00
Fix Windows warning about GetVersionEx deprecation.
Rather than squelching the warning, I'm actually paying attention to the deprecation, in that I'm allowing for the possibility that the function might stop existing or stop returning success.
This commit is contained in:
@ -521,9 +521,9 @@ void show_help(HWND hwnd);
|
||||
/*
|
||||
* Exports from winmisc.c.
|
||||
*/
|
||||
extern OSVERSIONINFO osVersion;
|
||||
GLOBAL DWORD osMajorVersion, osMinorVersion, osPlatformId;
|
||||
void init_winver(void);
|
||||
void dll_hijacking_protection(void);
|
||||
BOOL init_winver(void);
|
||||
HMODULE load_system32_dll(const char *libname);
|
||||
const char *win_strerror(int error);
|
||||
void restrict_process_acl(void);
|
||||
|
Reference in New Issue
Block a user