mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01:00 
			
		
		
		
	meson: also build gi-dump-types on Windows
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ | ||||
| #include "gdump.c" | ||||
| #ifdef G_OS_WIN32 | ||||
|   #include <windows.h> | ||||
|   #include <io.h>  /* For _get_osfhandle() */ | ||||
|   #include <gio/gwin32outputstream.h> | ||||
| #else | ||||
|   | ||||
| @@ -204,7 +204,7 @@ gthash_test = executable('gthash-test', 'gthash-test.c', | ||||
|  | ||||
| test('gthash-test', gthash_test) | ||||
|  | ||||
| if giounix_dep.found() | ||||
| if giounix_dep.found() or giowin_dep.found() | ||||
|   executable('gi-dump-types', 'gi-dump-types.c', | ||||
|     dependencies: [girepo_dep, giounix_dep]) | ||||
|     dependencies: [girepo_dep, giounix_dep, giowin_dep]) | ||||
| endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user