mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Update MinGW to use APIs from WINVER 0x0600
This commit is contained in:
committed by
GitHub
parent
d405e32c48
commit
33c3432556
@@ -18,6 +18,12 @@
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
|
||||
#ifdef __MINGW32__
|
||||
// 0x0600 == vista
|
||||
#define WINVER 0x0600
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#endif // __MINGW32__
|
||||
|
||||
#include <windows.h>
|
||||
#include <lmcons.h>
|
||||
#include <psapi.h>
|
||||
@@ -1037,7 +1043,6 @@ utf8* platform_get_username() {
|
||||
return username;
|
||||
}
|
||||
|
||||
#ifndef __MINGW32__
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// File association setup
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@@ -1184,4 +1189,3 @@ void platform_remove_file_associations()
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user