summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2018-04-03 22:08:01 +0200
committerMichael Lutz <michi@icosahedron.de>2018-04-10 23:30:01 +0200
commit6c3902ac41113e6e4a87e0a7e9cc9f96062402c4 (patch)
tree23142c9b8613c6b8f78a4027f8ec126a7f21543c /src/os
parent964d310cdadf2133bc1bb0682c46b9c72a8dbd90 (diff)
downloadopenttd-6c3902ac41113e6e4a87e0a7e9cc9f96062402c4.tar.xz
Codechange: [OSX] Use newer APIs to get resolution information when available.
Diffstat (limited to 'src/os')
-rw-r--r--src/os/macosx/osx_stdafx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h
index 70fff822f..70dc8030c 100644
--- a/src/os/macosx/osx_stdafx.h
+++ b/src/os/macosx/osx_stdafx.h
@@ -57,6 +57,10 @@
#define MAC_OS_X_VERSION_10_10 101000
#endif
+#ifndef MAC_OS_X_VERSION_10_11
+#define MAC_OS_X_VERSION_10_11 101100
+#endif
+
#define __STDC_LIMIT_MACROS
#include <stdint.h>