Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
if test "$with_win" = "yes" ; then
# We don't support the daemon yet
with_libvirtd=no
-
- # For AI_ADDRCONFIG
- AC_DEFINE([_WIN32_WINNT], [0x0600], [Win Vista / Server 2008])
- AC_DEFINE([WINVER], [0x0600], [Win Vista / Server 2008])
fi
# The daemon requires remote support. Likewise, if we are not using
conf.set_quoted('PACKAGE_VERSION', meson.project_version())
conf.set_quoted('VERSION', meson.project_version())
+if host_machine.system() == 'windows'
+ # For AI_ADDRCONFIG
+ conf.set('_WIN32_WINNT', '0x0600') # Win Vista / Server 2008
+ conf.set('WINVER', '0x0600') # Win Vista / Server 2008
+endif
+
# set various paths