aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index af470cb..ba90ea3 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -34,6 +34,12 @@
#include <stdlib.h>
+#ifndef __MAC_10_10
+#define NSOpenGLProfileVersion4_1Core NSOpenGLProfileVersion3_2Core
+typedef NSUInteger NSEventModifierFlags;
+typedef NSUInteger NSWindowStyleMask;
+#endif
+
@class PuglOpenGLView;
struct PuglInternalsImpl {