• D
    Avoid Windows 8 Getversion deprecated errors. · a4cc3c80
    Dr. Stephen Henson 提交于
    Windows 8 SDKs complain that GetVersion() is deprecated.
    
    We only use GetVersion like this:
    
    	(GetVersion() < 0x80000000)
    
    which checks if the Windows version is NT based. Use a macro check_winnt()
    which uses GetVersion() on older SDK versions and true otherwise.
    a4cc3c80
rand_win.c 26.2 KB