mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 05:17:54 +03:00
meson: set windows variables for AI_ADDRCONFIG
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>
This commit is contained in:
parent
1a231590d3
commit
2d6cbcaa4d
@ -154,10 +154,6 @@ AM_CONDITIONAL([WITH_MACOS], [test "$with_macos" = "yes"])
|
||||
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
|
||||
|
@ -37,6 +37,12 @@ conf.set_quoted('PACKAGE_NAME', meson.project_name())
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user