1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 07:43:01 +01:00

use SDL2's platform defines to normalise platform guards

This commit is contained in:
IntelOrca
2016-01-13 22:37:13 +00:00
parent e68ae821db
commit cdee534eb1
21 changed files with 83 additions and 65 deletions

View File

@@ -895,7 +895,7 @@ void config_apply_to_old_addresses()
#define CTRL 0x200
#define ALT 0x400
#define CMD 0x800
#if defined(__APPLE__) && defined(__MACH__)
#ifdef __MACOSX__
#define PLATFORM_MODIFIER CMD
#else
#define PLATFORM_MODIFIER CTRL