summaryrefslogtreecommitdiff
path: root/fpu/softfloat-native.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:12:56 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:20 -0500
commitfe4f503af9666d8e8a60f9bd3791da7cd56a6080 (patch)
treefdd6ebb4dd37e6aef7c80db2d6a1231fcad9fa3d /fpu/softfloat-native.h
parent5fa534109bc1c32be62b51ab528690ec35d5886c (diff)
downloadqemu-fe4f503af9666d8e8a60f9bd3791da7cd56a6080.tar.gz
qemu-fe4f503af9666d8e8a60f9bd3791da7cd56a6080.tar.bz2
qemu-fe4f503af9666d8e8a60f9bd3791da7cd56a6080.zip
rename HOST_BSD to CONFIG_BSD
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'fpu/softfloat-native.h')
-rw-r--r--fpu/softfloat-native.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h
index 839e5b1566..0bba084405 100644
--- a/fpu/softfloat-native.h
+++ b/fpu/softfloat-native.h
@@ -1,7 +1,7 @@
/* Native implementation of soft float functions */
#include <math.h>
-#if (defined(HOST_BSD) && !defined(__APPLE__)) || defined(CONFIG_SOLARIS)
+#if (defined(CONFIG_BSD) && !defined(__APPLE__)) || defined(CONFIG_SOLARIS)
#include <ieeefp.h>
#define fabsf(f) ((float)fabs(f))
#else
@@ -112,7 +112,7 @@ typedef union {
/*----------------------------------------------------------------------------
| Software IEC/IEEE floating-point rounding mode.
*----------------------------------------------------------------------------*/
-#if (defined(HOST_BSD) && !defined(__APPLE__)) || defined(CONFIG_SOLARIS)
+#if (defined(CONFIG_BSD) && !defined(__APPLE__)) || defined(CONFIG_SOLARIS)
#if defined(__OpenBSD__)
#define FE_RM FP_RM
#define FE_RP FP_RP