From 3359c78b197a1812023e52111699f74d110be37e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 25 Jul 2019 14:15:55 +0200 Subject: Mac: Fix build on MacOS older than 10.10 --- pugl/pugl_osx.m | 6 ++++++ 1 file changed, 6 insertions(+) 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 +#ifndef __MAC_10_10 +#define NSOpenGLProfileVersion4_1Core NSOpenGLProfileVersion3_2Core +typedef NSUInteger NSEventModifierFlags; +typedef NSUInteger NSWindowStyleMask; +#endif + @class PuglOpenGLView; struct PuglInternalsImpl { -- cgit v1.2.1