Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXCql-0004g9-2Y for qemu-devel@nongnu.org; Sun, 24 Aug 2008 06:29:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXCqk-0004fW-3k for qemu-devel@nongnu.org; Sun, 24 Aug 2008 06:29:34 -0400 Received: from [199.232.76.173] (port=37755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXCqj-0004fP-ID for qemu-devel@nongnu.org; Sun, 24 Aug 2008 06:29:33 -0400 Received: from savannah.gnu.org ([199.232.41.3]:46484 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXCqi-0004sS-U9 for qemu-devel@nongnu.org; Sun, 24 Aug 2008 06:29:33 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KXCqg-0001LY-Jx for qemu-devel@nongnu.org; Sun, 24 Aug 2008 10:29:30 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KXCqg-0001LU-CF for qemu-devel@nongnu.org; Sun, 24 Aug 2008 10:29:30 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sun, 24 Aug 2008 10:29:30 +0000 Subject: [Qemu-devel] [5077] Fix math warnings on OpenBSD -current Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5077 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5077 Author: blueswir1 Date: 2008-08-24 10:29:29 +0000 (Sun, 24 Aug 2008) Log Message: ----------- Fix math warnings on OpenBSD -current Modified Paths: -------------- trunk/fpu/softfloat-native.h Modified: trunk/fpu/softfloat-native.h =================================================================== --- trunk/fpu/softfloat-native.h 2008-08-23 23:27:37 UTC (rev 5076) +++ trunk/fpu/softfloat-native.h 2008-08-24 10:29:29 UTC (rev 5077) @@ -8,6 +8,11 @@ #include #endif +#ifdef __OpenBSD__ +/* Get OpenBSD version number */ +#include +#endif + /* * Define some C99-7.12.3 classification macros and * some C99-.12.4 for Solaris systems OS less than 10, @@ -17,7 +22,7 @@ */ #if defined(HOST_SOLARIS) && (( HOST_SOLARIS <= 9 ) || ((HOST_SOLARIS >= 10) \ && (__GNUC__ <= 4))) \ - || defined(__OpenBSD__) + || (defined(__OpenBSD__) && (OpenBSD < 200811)) /* * C99 7.12.3 classification macros * and