From patchwork Fri Apr 13 09:39:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 152274 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E430AB6F9A for ; Fri, 13 Apr 2012 20:09:36 +1000 (EST) Received: from localhost ([::1]:54522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIczE-0005xN-Bb for incoming@patchwork.ozlabs.org; Fri, 13 Apr 2012 05:40:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIcyf-0004fD-O5 for qemu-devel@nongnu.org; Fri, 13 Apr 2012 05:39:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIcyW-0001Nk-Pz for qemu-devel@nongnu.org; Fri, 13 Apr 2012 05:39:36 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:54692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIcyW-0001N4-HH for qemu-devel@nongnu.org; Fri, 13 Apr 2012 05:39:28 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Apr 2012 10:39:24 +0100 Received: from d06nrmr1307.portsmouth.uk.ibm.com (9.149.38.129) by e06smtp17.uk.ibm.com (192.168.101.147) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 13 Apr 2012 10:39:21 +0100 Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q3D9dKLK2461804 for ; Fri, 13 Apr 2012 10:39:20 +0100 Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q3D9dKYR028831 for ; Fri, 13 Apr 2012 05:39:20 -0400 Received: from localhost (dyn-9-174-219-44.manchester-maybrook.uk.ibm.com [9.174.219.44]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q3D9dJgb028804; Fri, 13 Apr 2012 05:39:19 -0400 From: Stefan Hajnoczi To: Anthony Liguori Date: Fri, 13 Apr 2012 10:39:12 +0100 Message-Id: <1334309956-31827-3-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1334309956-31827-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1334309956-31827-1-git-send-email-stefanha@linux.vnet.ibm.com> x-cbid: 12041309-0542-0000-0000-00000187E6B8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.113 Cc: Stefan Weil , qemu-devel@nongnu.org, Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 2/6] configure: Fix wrong preprocessor statement X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Stefan Weil #abort is not a preprocessor statement. It aborts, but the preprocessor statement #error is more common to abort a compilation. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 5aaafa1..b392c6f 100755 --- a/configure +++ b/configure @@ -2624,7 +2624,7 @@ int main(void) { #if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0 return fdatasync(0); #else -#abort Not supported +#error Not supported #endif } EOF