diff options
Diffstat (limited to 'pugl/detail/mac.m')
-rw-r--r-- | pugl/detail/mac.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m index efa4d78..ca2cb7c 100644 --- a/pugl/detail/mac.m +++ b/pugl/detail/mac.m @@ -32,6 +32,14 @@ #include <stdlib.h> +#ifndef __MAC_10_10 +typedef NSUInteger NSEventModifierFlags; +#endif + +#ifndef __MAC_10_12 +typedef NSUInteger NSWindowStyleMask; +#endif + static NSRect rectToScreen(NSRect rect) { |