aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac_gl.m
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-08-23 21:26:09 +0200
committerDavid Robillard <d@drobilla.net>2019-12-09 20:52:46 +0100
commit91773de7ac4e07643fc47f1f0c1fdb6a255f53d2 (patch)
tree5e0b5c79c5e555b4fcbc8a6f77c08f5b7b952591 /pugl/detail/mac_gl.m
parent116188e6e0e6e545ead9f0887f465434e464e3b5 (diff)
downloadpugl-91773de7ac4e07643fc47f1f0c1fdb6a255f53d2.tar.gz
pugl-91773de7ac4e07643fc47f1f0c1fdb6a255f53d2.tar.bz2
pugl-91773de7ac4e07643fc47f1f0c1fdb6a255f53d2.zip
Mac: Fix missing NSWindowStyleMask type on 10.11
Diffstat (limited to 'pugl/detail/mac_gl.m')
-rw-r--r--pugl/detail/mac_gl.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/pugl/detail/mac_gl.m b/pugl/detail/mac_gl.m
index 428cc1a..145b614 100644
--- a/pugl/detail/mac_gl.m
+++ b/pugl/detail/mac_gl.m
@@ -24,9 +24,7 @@
#include "pugl/pugl_stub.h"
#ifndef __MAC_10_10
-#define NSOpenGLProfileVersion4_1Core NSOpenGLProfileVersion3_2Core
-typedef NSUInteger NSEventModifierFlags;
-typedef NSUInteger NSWindowStyleMask;
+# define NSOpenGLProfileVersion4_1Core NSOpenGLProfileVersion3_2Core
#endif
@interface PuglOpenGLView : NSOpenGLView