Skip to content

Commit a10f44f

Browse files
committed
hack
1 parent d3ae54c commit a10f44f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- a/meson.build
2+
+++ b/meson.build
3+
@@ -995,8 +995,8 @@
4+
add_languages('objc', native: false, required: true)
5+
objcc = meson.get_compiler('objc')
6+
if not objcc.compiles('''#include <AvailabilityMacros.h>
7+
#if MAC_OS_X_VERSION_MIN_REQUIRED < 101300
8+
- #error message "GLib requires macOS 10.13 or later."
9+
+ // #error message "GLib requires macOS 10.13 or later."
10+
#endif''',
11+
name : 'macOS 10.13 or later')
12+
error('GLib requires macOS 10.13 or later.')
13+

0 commit comments

Comments
 (0)