HomeWildfire Games

Fix OS detection on Windows 10.

Description

Fix OS detection on Windows 10.

Compatibility mode will be handled in a later diff.

Comments by: @Itms, @vladislavbelov

Differential Revision: https://code.wildfiregames.com/D2420

Event Timeline

vladislavbelov added inline comments.Nov 25 2020, 7:50 PM
/ps/trunk/source/lib/sysdep/os/win/wposix/wutsname.cpp
43

It's not a really good initialization. System and complex structs should be initialized explicitly.

Stan marked an inline comment as done.Nov 25 2020, 8:05 PM
Stan added inline comments.
/ps/trunk/source/lib/sysdep/os/win/wposix/wutsname.cpp
43

I went for the original code style. Can (and will!) be fixed in D3135. I still need your input for that one :)