From patchwork Sat Dec 12 19:10:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 40989 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3D614B6F14 for ; Sun, 13 Dec 2009 06:14:44 +1100 (EST) Received: from localhost ([127.0.0.1]:49018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJXQP-0001H6-9G for incoming@patchwork.ozlabs.org; Sat, 12 Dec 2009 14:14:41 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJXN4-0008R1-6W for qemu-devel@nongnu.org; Sat, 12 Dec 2009 14:11:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJXMx-0008OC-PF for qemu-devel@nongnu.org; Sat, 12 Dec 2009 14:11:12 -0500 Received: from [199.232.76.173] (port=52278 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJXMw-0008Nj-NR for qemu-devel@nongnu.org; Sat, 12 Dec 2009 14:11:06 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:42799) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJXMw-0001uy-ET for qemu-devel@nongnu.org; Sat, 12 Dec 2009 14:11:06 -0500 Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 79C8114139F15; Sat, 12 Dec 2009 20:11:05 +0100 (CET) Received: from [84.148.98.194] (helo=localhost.localdomain) by smtp08.web.de with asmtp (WEB.DE 4.110 #314) id 1NJXMv-0005EU-00; Sat, 12 Dec 2009 20:11:05 +0100 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Sat, 12 Dec 2009 20:10:56 +0100 Message-Id: <1260645057-19819-3-git-send-email-andreas.faerber@web.de> X-Mailer: git-send-email 1.6.5.3 In-Reply-To: <1260645057-19819-2-git-send-email-andreas.faerber@web.de> References: <1260645057-19819-1-git-send-email-andreas.faerber@web.de> <1260645057-19819-2-git-send-email-andreas.faerber@web.de> MIME-Version: 1.0 X-Sender: Andreas.Faerber@web.de X-Provags-ID: V01U2FsdGVkX1+I8Tfs4OTOzNYUbz3o7SFnp3T2Stsv+i9Cme9s vG9BdDuR4O7V6do90ukAVTGBuwQ0AHfC4JF4fqjg975kvLLIDz CdLgv196WyjPqjwPibGQ== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , Palle Lyckegaard Subject: [Qemu-devel] [PATCH 2/3] Silence softfloat warnings on OpenSolaris X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Andreas Färber Don't define C99 math functions on OpenSolaris (Solaris 11), which still ships GCC 3.4.3. This fixes redefinition warnings. Spotted by Palle Lyckegaard. Signed-off-by: Andreas Färber Cc: Palle Lyckegaard Cc: Ben Taylor --- fpu/softfloat-native.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h index 35670c8..fe737b3 100644 --- a/fpu/softfloat-native.h +++ b/fpu/softfloat-native.h @@ -22,7 +22,7 @@ */ #if defined(CONFIG_SOLARIS) && \ ((CONFIG_SOLARIS_VERSION <= 9 ) || \ - ((CONFIG_SOLARIS_VERSION >= 10) && (__GNUC__ < 4))) \ + ((CONFIG_SOLARIS_VERSION == 10) && (__GNUC__ < 4))) \ || (defined(__OpenBSD__) && (OpenBSD < 200811)) /* * C99 7.12.3 classification macros