Merge branch 'cygwin-fix-glib-os' into 'master'

build: define G_OS_UNIX, not G_OS_WIN32 under cygwin

See merge request GNOME/glib!862
This commit is contained in:
Christoph Reiter 2019-05-22 08:27:22 +00:00
commit 16e632432e

View File

@ -198,7 +198,7 @@ if host_system == 'windows'
glib_os = '''#define G_OS_WIN32
#define G_PLATFORM_WIN32'''
elif host_system == 'cygwin'
glib_os = '''#define G_OS_WIN32
glib_os = '''#define G_OS_UNIX
#define G_WITH_CYGWIN'''
else
glib_os = '#define G_OS_UNIX'