diff options
author | Michael Lutz <michi@icosahedron.de> | 2018-01-28 23:02:22 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2018-04-10 23:30:01 +0200 |
commit | 4971678f521f945b9f6f47042d33d610db43962d (patch) | |
tree | 90740feda00609be59472b5dc530d771872e679f /src/os/macosx/osx_stdafx.h | |
parent | 74b7f0a9aa7658857714db365853db8f6c8512bd (diff) | |
download | openttd-4971678f521f945b9f6f47042d33d610db43962d.tar.xz |
Codechange: [OSX] Use 10.10+ API to get the OSX version when available.
Diffstat (limited to 'src/os/macosx/osx_stdafx.h')
-rw-r--r-- | src/os/macosx/osx_stdafx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h index 4e16b5e63..70fff822f 100644 --- a/src/os/macosx/osx_stdafx.h +++ b/src/os/macosx/osx_stdafx.h @@ -53,6 +53,9 @@ #define MAC_OS_X_VERSION_10_9 1090 #endif +#ifndef MAC_OS_X_VERSION_10_10 +#define MAC_OS_X_VERSION_10_10 101000 +#endif #define __STDC_LIMIT_MACROS #include <stdint.h> |