mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 04:02:31 +00:00
Redefine kIOMainPortDefault
This commit is contained in:
parent
ff6720782a
commit
6eafd5f57e
@ -41,6 +41,13 @@
|
||||
typedef void* id;
|
||||
#endif
|
||||
|
||||
// NOTE: Many Cocoa enum values have been renamed and we need to build across
|
||||
// SDK versions where one is unavailable or the other deprecated
|
||||
// We use the newer names in code and these macros to handle compatibility
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < 120000
|
||||
#define kIOMainPortDefault kIOMasterPortDefault
|
||||
#endif
|
||||
|
||||
// NOTE: Many Cocoa enum values have been renamed and we need to build across
|
||||
// SDK versions where one is unavailable or the other deprecated
|
||||
// We use the newer names in code and these macros to handle compatibility
|
||||
|
Loading…
Reference in New Issue
Block a user