Message ID | 20190507120011.18100-11-peter.maydell@linaro.org |
---|---|
State | Not Applicable |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:81:0:0:0:0 with SMTP id l1csp1257920ilm; Tue, 7 May 2019 05:06:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8MkTRp1cq6e/Ickf3VZR8hJZz9ismE4V33K3asC6+DoXAderlv219AEsR0vmtYCVkXwmM X-Received: by 2002:a5d:4a81:: with SMTP id o1mr2265597wrq.183.1557230815982; Tue, 07 May 2019 05:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557230815; cv=none; d=google.com; s=arc-20160816; b=XqVQ8RM5SfvyxuMLTRSt1P5qfWrhhPxVg/WoObL3LyJhPh5hZ2IwKlIEgkVv1gdeED g1a5zxfTmCwz8x2A9AHNlvIOzQ1UsdI6KS1erg+WRKuREIouWg5cmmwFUQvBPlU4lVmF o/Z9EyNfq2YfXy/nNjh9AXZSuQ0a0QcP4HgvYFXfWKwDuw0X8XQ6U/ryNfetk4qiA8Le srEcjm191dAsu1AXoCEGHdqz0qsDJlpnNeeREwyYIkcSYeNKBqg2r23YSaqFx7zmrTgK KMP78flfftM1gWnqGDb6TaM5jg7DBJYrL5inPm31pv+hPqJ29rYldNEd1sseTo2BiAF6 +pcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=2H24j/ivxKhpWMoNZRyFm5/WUhhAwlHuP6YRtZPABdg=; b=OTCD4wZbhBu3t/EaY4KCS3cLzTqJ9HL0MmivFLqviER0RDQelBwXloEh4yqSrqBNBM lwhVbkvu0N19L3/K2wLcnN+S6TVnmsDYc2BmwEqwo/V9vmFW79t/0L2cfHYPsOhYhWwZ 1E6npfz7Q+cc2jcqXr+UsSTkYOqJxEz4T7mDoF76bwPt2rg2/B86nVQQG8eWXfSkZl3c PXhhtx2VFN0ZEokr8FrzNvjz1qElQnlz2EFAzKH5OpIyATKqetgr8AbUP6+7IUPm4mE5 odI8yalzoXEuYJhjpxzBVOXdx2/lnDkr0U6WxY0U4V7Z3SYk44NoxIvbYhMRLyiIGXvG hAWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Po9GDH7G; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i17si1283774wmb.171.2019.05.07.05.06.55 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 07 May 2019 05:06:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Po9GDH7G; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:45673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1hNys2-0004F4-S9 for patch@linaro.org; Tue, 07 May 2019 08:06:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1hNylr-0007dg-Q6 for qemu-devel@nongnu.org; Tue, 07 May 2019 08:00:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1hNylq-0003t1-KC for qemu-devel@nongnu.org; Tue, 07 May 2019 08:00:31 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:40737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1hNylq-0003s4-DH for qemu-devel@nongnu.org; Tue, 07 May 2019 08:00:30 -0400 Received: by mail-wm1-x334.google.com with SMTP id h11so19613378wmb.5 for <qemu-devel@nongnu.org>; Tue, 07 May 2019 05:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=2H24j/ivxKhpWMoNZRyFm5/WUhhAwlHuP6YRtZPABdg=; b=Po9GDH7GhqXavjGPmL2GFhMIfMm1PbDdrfrn7Gy45f11Oogo9As3XZJv0QjnWwU1en /IGIHUimZ7Ge56gXihpEwF1nLkJ2TgOSLAY4+5ecrh/Pcof2IsTq/szfsasGk4LjI5Ny ZiwryR+us5QOzyVJYCecnMXtkLJnpi4ftahrtryGcHzdMBu8CAlQzN326JYLCMIojOq5 gbSYv7KOnda+4MIGRannH6dui/RoS6SnGUH/wqELKYMpigtNiLwztaxGPBaDREDe/AMq ztjWv96teUDajYvjX8lmkXy8KHexyKwyBauo5v3dqlp6/mQW9ECs0XcxSKetYe5yQ9Tu D/sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2H24j/ivxKhpWMoNZRyFm5/WUhhAwlHuP6YRtZPABdg=; b=LMaGxvm/J+MkFoMlXYKcHihYNZD953jBWV8rVzhYta4uAUXFRSBJcP/w1MNDgOKTUM Bwe74spZfBl9XpgwN4cpzh+LVijxyvEyFJki4pqR/leRYS69Z0wUPokdiXKwqdNdLt4D NQPpo/F1l/w07TqJuQ2VG9TcjXwW5lQ6a3QSJgmLMFIW0CQHIPKmbf/owOY1WmDkxGpV kNrI4+r2tLHqDgk7erjAha0WOkOsQACRXpcvC4q9+vJGI+gd1uWcdTQPelFGOSqfYeb9 5FZsq8PZl9O1YpJfbyksciN63CyljhGass7F1KofnOtj7wJbf0JjedGDTFHvuWkbijFH 7lDg== X-Gm-Message-State: APjAAAXjjUfX2DB21TrBfQIfI3Dx3+wP5DhW9t2N6cwGHcvE/JrCLMpl I95VLgLrQV7UoDli28bVgcstXPk7k/E= X-Received: by 2002:a1c:ac07:: with SMTP id v7mr19777642wme.49.1557230428551; Tue, 07 May 2019 05:00:28 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id g3sm12348596wmf.9.2019.05.07.05.00.27 for <qemu-devel@nongnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 05:00:27 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Date: Tue, 7 May 2019 13:00:06 +0100 Message-Id: <20190507120011.18100-11-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190507120011.18100-1-peter.maydell@linaro.org> References: <20190507120011.18100-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 Subject: [Qemu-devel] [PULL 10/15] osdep: Fix mingw compilation regarding stdio formats X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target-arm queue
|
expand
|
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 303d315c5d4..af2b91f0b87 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -85,17 +85,17 @@ extern int daemon(int, int); #endif #endif +/* enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later) */ +#ifdef __MINGW32__ +#define __USE_MINGW_ANSI_STDIO 1 +#endif + #include <stdarg.h> #include <stddef.h> #include <stdbool.h> #include <stdint.h> #include <sys/types.h> #include <stdlib.h> - -/* enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later) */ -#ifdef __MINGW32__ -#define __USE_MINGW_ANSI_STDIO 1 -#endif #include <stdio.h> #include <string.h>