Codechange: [OSX] Use newer APIs to get resolution information when available.

This commit is contained in:
Michael Lutz
2018-04-03 22:08:01 +02:00
parent 964d310cda
commit 6c3902ac41
2 changed files with 60 additions and 12 deletions

View File

@@ -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>