From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5077] Fix math warnings on OpenBSD -current
Date: Sun, 24 Aug 2008 10:29:30 +0000 [thread overview]
Message-ID: <E1KXCqg-0001LU-CF@cvs.savannah.gnu.org> (raw)
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 <fenv.h>
#endif
+#ifdef __OpenBSD__
+/* Get OpenBSD version number */
+#include <sys/param.h>
+#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
reply other threads:[~2008-08-24 10:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KXCqg-0001LU-CF@cvs.savannah.gnu.org \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).