[gtk/gtk-3-24-meson: 45/95] meson: check for and set HAVE_IPRINTDIALOGCALLBACK
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 45/95] meson: check for and set HAVE_IPRINTDIALOGCALLBACK
- Date: Thu, 11 Apr 2019 14:55:11 +0000 (UTC)
commit b185f69334382820fa3675bb5925d2f6455fc5df
Author: Christoph Reiter <reiter christoph gmail com>
Date: Fri Mar 22 15:16:14 2019 +0100
meson: check for and set HAVE_IPRINTDIALOGCALLBACK
It's needed under mingw in the print backend
meson.build | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/meson.build b/meson.build
index a90c93fb8e..54c3a4304a 100644
--- a/meson.build
+++ b/meson.build
@@ -707,6 +707,12 @@ else
endif
endif
+if os_win32
+ if cc.has_header_symbol('windows.h', 'IPrintDialogCallback')
+ cdata.set('HAVE_IPRINTDIALOGCALLBACK', 1)
+ endif
+endif
+
if os_unix
cdata.set('HAVE_GIO_UNIX', giounix_dep.found())
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]