From nobody Mon Feb 9 14:00:03 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594893972; cv=none; d=zohomail.com; s=zohoarc; b=n2phYxjI/MPbMK9fXNnyaB7xOqqzmL6RDPMi1hVepbU3o7Uokw3D89r/HKVDI+N6FaEu5f/CidQDZu4wimbG6DBI4DW9FtxNZByB42SLppuFsvWb3Czbx1GZO5JyvZ8VZLx/X/+KyJYayVQZrPkeS+TP71Nhe4T0HPJ3cLnq640= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594893972; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=C6zjvPyn3GRjo3sDuQJRYdf0QfaQUBzMeAvdDjpx+aA=; b=D3BdDTDzw2FQvwb7jznFJNC5S5eJLUG2rWwynWwrMA1dDv6nPZ08buO7vh1VixSUoCqbXHn1+ex+BapIeqYJuU/osqXDGFDCBlFWc+JI+Aao4QKi2ImczUagUw/u82ub5jKy2Zgnc8UykNpVx9ncdXGnpTFmgl8rypCUiqjqGHo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594893972953314.8799756722127; Thu, 16 Jul 2020 03:06:12 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-416-sgBLh_ztNTK_94uDrvRu7A-1; Thu, 16 Jul 2020 06:00:41 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 124CB8027F3; Thu, 16 Jul 2020 10:00:36 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E1AEC2DE6D; Thu, 16 Jul 2020 10:00:35 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B1B2B9623F; Thu, 16 Jul 2020 10:00:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA0WC0015300 for ; Thu, 16 Jul 2020 06:00:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 96AB72B6E2; Thu, 16 Jul 2020 10:00:32 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 100DE2B6DC for ; Thu, 16 Jul 2020 10:00:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594893971; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=C6zjvPyn3GRjo3sDuQJRYdf0QfaQUBzMeAvdDjpx+aA=; b=fV6sSLNitOdF8K29/TRgxYnXWObA17k2G4s8I4LEbGNhcSlhgfkGV3YJ4hD7Y4NlFYlhzz VMCC3LdcrMBoU+4FUIlJ6tlMGF+4xeRDLqmfRprlmVgJOveuR1ABYvLdFHFCvwBsopG459 0rC7YQ417W65CeNOwmQ9HOhst7w+5Dw= X-MC-Unique: sgBLh_ztNTK_94uDrvRu7A-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 013/351] meson: set windows variables for AI_ADDRCONFIG Date: Thu, 16 Jul 2020 11:54:09 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina Reviewed-by: J=C3=A1n Tomko --- configure.ac | 4 ---- meson.build | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 7294b61bc46..445a44f2e79 100644 --- a/configure.ac +++ b/configure.ac @@ -154,10 +154,6 @@ AM_CONDITIONAL([WITH_MACOS], [test "$with_macos" =3D "= yes"]) if test "$with_win" =3D "yes" ; then # We don't support the daemon yet with_libvirtd=3Dno - - # For AI_ADDRCONFIG - AC_DEFINE([_WIN32_WINNT], [0x0600], [Win Vista / Server 2008]) - AC_DEFINE([WINVER], [0x0600], [Win Vista / Server 2008]) fi =20 # The daemon requires remote support. Likewise, if we are not using diff --git a/meson.build b/meson.build index 88a163e2ee6..3b149e829d3 100644 --- a/meson.build +++ b/meson.build @@ -32,6 +32,12 @@ conf.set_quoted('PACKAGE_NAME', meson.project_name()) conf.set_quoted('PACKAGE_VERSION', meson.project_version()) conf.set_quoted('VERSION', meson.project_version()) =20 +if host_machine.system() =3D=3D 'windows' + # For AI_ADDRCONFIG + conf.set('_WIN32_WINNT', '0x0600') # Win Vista / Server 2008 + conf.set('WINVER', '0x0600') # Win Vista / Server 2008 +endif + =20 # set various paths =20 --=20 2.26.2