meson: fix G_DIR_SEPARATOR* define on Windows

Must double escape, once for Meson, once for the C string constant.

https://bugzilla.gnome.org/show_bug.cgi?id=757284
This commit is contained in:
Tim-Philipp Müller 2018-01-10 15:57:46 +00:00
parent e7c044629f
commit f25c7a2a6e

View File

@ -997,7 +997,7 @@ if host_system == 'windows'
else
glibconfig_conf.set_quoted('g_pollfd_format', '%#x')
endif
glibconfig_conf.set('g_dir_separator', '\\')
glibconfig_conf.set('g_dir_separator', '\\\\')
glibconfig_conf.set('g_searchpath_separator', ';')
else
glibconfig_conf.set('g_pid_type', 'int')