Raise minimum supported macOS version to 10.13 (High Sierra).

Allows removing all macOS version ifdefs.

Closes https://gitlab.gnome.org/GNOME/glib/-/issues/3441
This commit is contained in:
John Ralls
2024-11-19 16:16:37 -08:00
parent dfe252429c
commit 9bbb1acd7d
6 changed files with 13 additions and 49 deletions

View File

@@ -396,9 +396,7 @@ if host_system != 'windows'
unix_sources += files('gosxappinfo.m')
framework_dep = dependency('appleframeworks', modules : ['Foundation', 'CoreFoundation', 'AppKit'])
platform_deps += [framework_dep]
if glib_have_os_x_9_or_later
unix_sources += files('gcocoanotificationbackend.m')
endif
unix_sources += files('gcocoanotificationbackend.m')
unix_sources += files('gosxnetworkmonitor.c')
application_headers += files('gosxappinfo.h')
else