From 83549e28ec5bb07e7c6d913cad4356d6bef5b0ae Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 8 Mar 2018 19:14:38 +0000 Subject: Windows: Target Windows Vista or higher This will give us the RFC-2553 inet_ntop() interface. Windows Vista extended security support ended in 2017, but we don't actually need anything from versions newer than Vista yet. Loosely based on part of a patch by Ralf Habacker. Signed-off-by: Simon McVittie Reviewed-by: Ralf Habacker Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index efed4f0a..2a4fce85 100644 --- a/configure.ac +++ b/configure.ac @@ -156,6 +156,9 @@ if test "$dbus_win" = yes; then if test "$dbus_wince" = yes; then AC_DEFINE(DBUS_WINCE,1,[Defined if we run on a W32 CE API based system]) AC_DEFINE(_WIN32_WCE, 0x0502, [Defined to get newer W32 CE APIs]) + else + AC_DEFINE([_WIN32_WINNT], [0x0600], + [Define to the minimum supported Windows version (0x0600 is Vista)]) fi else AC_DEFINE(DBUS_UNIX,1,[Defined if we run on a Unix-based system]) -- cgit v1.2.1