aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorfalkTX <falktx@falktx.com>2021-08-20 09:02:28 +0100
committerDavid Robillard <d@drobilla.net>2021-08-25 19:11:37 -0400
commita356911d2afc34d9091404525df48790967e2b09 (patch)
tree4c380f40c5ffdc3b5abd35d67df68e24f33842dc /src
parentc98ee490fcf93e290ae5e8a602fd88b359a61a1b (diff)
downloadpugl-a356911d2afc34d9091404525df48790967e2b09.tar.gz
pugl-a356911d2afc34d9091404525df48790967e2b09.tar.bz2
pugl-a356911d2afc34d9091404525df48790967e2b09.zip
MacOS: Fix build on MacOS 10.9 and earlier
NSEventSubtype was introduced in 10.10.
Diffstat (limited to 'src')
-rw-r--r--src/mac.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mac.m b/src/mac.m
index 09d2e01..1b33bcb 100644
--- a/src/mac.m
+++ b/src/mac.m
@@ -31,6 +31,7 @@
#ifndef __MAC_10_10
typedef NSUInteger NSEventModifierFlags;
+typedef NSUInteger NSEventSubtype;
#endif
#ifndef __MAC_10_12