[glib: 1/2] build: define G_OS_UNIX, not G_OS_WIN32 under cygwin
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] build: define G_OS_UNIX, not G_OS_WIN32 under cygwin
- Date: Wed, 22 May 2019 08:27:42 +0000 (UTC)
commit 767e6a4cac9f5c38ed802d2a77ec618ddc89aae9
Author: Christoph Reiter <reiter christoph gmail com>
Date: Tue May 21 18:54:34 2019 +0200
build: define G_OS_UNIX, not G_OS_WIN32 under cygwin
This makes glib build under msys2 for me.
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index beed3e04a..6db3e8fe6 100644
--- a/meson.build
+++ b/meson.build
@@ -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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]