[gtk/msvc-prototype] config.h.win32.in: Define HAVE_SETUP_DI_GET_DEVICE_PROPERTY_W
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/msvc-prototype] config.h.win32.in: Define HAVE_SETUP_DI_GET_DEVICE_PROPERTY_W
- Date: Wed, 28 Jul 2021 07:03:35 +0000 (UTC)
commit b81b9311f6bd9f712f18a1436b799cbe0ec542e5
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Jul 28 15:00:38 2021 +0800
config.h.win32.in: Define HAVE_SETUP_DI_GET_DEVICE_PROPERTY_W
... on Visual Studio, so that we will not have warnings from defining
the prototype SetupDiGetDevicePropertyW() unnessarily.
config.h.win32.in | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/config.h.win32.in b/config.h.win32.in
index d0546db297..9bbf65fe10 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -144,6 +144,11 @@
#define HAVE_ROUND 1
#endif
+/* Define to 1 if SetupDiGetDevicePropertyW() is available */
+#ifdef _MSC_VER
+#define HAVE_SETUP_DI_GET_DEVICE_PROPERTY_W 1
+#endif
+
/* Define to 1 if sincos() is available */
/* #undef HAVE_SINCOS */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]