diff options
author | David Robillard <d@drobilla.net> | 2020-01-06 10:13:03 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-01-06 10:13:03 -0500 |
commit | 31b6c21cb71010ab6202d345c9549d5b5dab9540 (patch) | |
tree | 97aa8f9d06e6ee69331d13209b128cc47767fa75 | |
parent | 5d45fda230192d47a4afadecdf3dce038b8d6fe9 (diff) | |
download | suil-31b6c21cb71010ab6202d345c9549d5b5dab9540.tar.gz suil-31b6c21cb71010ab6202d345c9549d5b5dab9540.tar.bz2 suil-31b6c21cb71010ab6202d345c9549d5b5dab9540.zip |
Fix compilation on MacOS older than 10.12
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/cocoa_in_gtk2.mm | 4 | ||||
-rw-r--r-- | wscript | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,9 @@ +suil (0.10.7) unstable; + + * Fix compilation on MacOS older than 10.12 + + -- David Robillard <d@drobilla.net> Mon, 06 Jan 2020 15:12:38 +0000 + suil (0.10.6) stable; * Add no-cocoa configure flag diff --git a/src/cocoa_in_gtk2.mm b/src/cocoa_in_gtk2.mm index 27ed9ac..d0130da 100644 --- a/src/cocoa_in_gtk2.mm +++ b/src/cocoa_in_gtk2.mm @@ -25,6 +25,10 @@ #include "lv2/options/options.h" #include "lv2/urid/urid.h" +#ifndef MAC_OS_X_VERSION_10_12 +#define MAC_OS_X_VERSION_10_12 101200 +#endif + #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12 #define NSEventTypeFlagsChanged NSFlagsChanged #define NSEventTypeLeftMouseDown NSLeftMouseDown @@ -7,7 +7,7 @@ from waflib import TaskGen from waflib.extras import autowaf # Semver package/library version -SUIL_VERSION = '0.10.6' +SUIL_VERSION = '0.10.7' SUIL_MAJOR_VERSION = SUIL_VERSION[0:SUIL_VERSION.find('.')] # Mandatory waf variables |