diff options
author | David Robillard <d@drobilla.net> | 2019-07-25 14:15:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-25 14:16:24 +0200 |
commit | 3359c78b197a1812023e52111699f74d110be37e (patch) | |
tree | 91a3ccaa0371d0cc1127a956af50b0b6ec571dde /pugl | |
parent | 2e3e935319ea740029bbb08d619331dddd72cf66 (diff) | |
download | pugl-3359c78b197a1812023e52111699f74d110be37e.tar.gz pugl-3359c78b197a1812023e52111699f74d110be37e.tar.bz2 pugl-3359c78b197a1812023e52111699f74d110be37e.zip |
Mac: Fix build on MacOS older than 10.10
Diffstat (limited to 'pugl')
-rw-r--r-- | pugl/pugl_osx.m | 6 |
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 { |