mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
Merge pull request #4638 from OpenRCT2/janisozaur-mingw-test
Configure MinGW to consume Vista+ APIs
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#ifdef __MINGW32__
|
||||
// 0x0600 == vista
|
||||
#define WINVER 0x0600
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#endif // __MINGW32__
|
||||
|
||||
#include "../common.h"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
@@ -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