aboutsummaryrefslogtreecommitdiff
path: root/fpu/softfloat-native.c
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
commit71e72a19bafda97c9e97b089499fdc050e96a631 (patch)
treefdd6ebb4dd37e6aef7c80db2d6a1231fcad9fa3d /fpu/softfloat-native.c
parent43da3c088c00a1113643abb0c70379140de39dd8 (diff)
downloadqemu-71e72a19bafda97c9e97b089499fdc050e96a631.zip
qemu-71e72a19bafda97c9e97b089499fdc050e96a631.tar.gz
qemu-71e72a19bafda97c9e97b089499fdc050e96a631.tar.bz2
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.c')
-rw-r--r--fpu/softfloat-native.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpu/softfloat-native.c b/fpu/softfloat-native.c
index 9576984..4c70b6c 100644
--- a/fpu/softfloat-native.c
+++ b/fpu/softfloat-native.c
@@ -9,7 +9,7 @@
void set_float_rounding_mode(int val STATUS_PARAM)
{
STATUS(float_rounding_mode) = val;
-#if defined(HOST_BSD) && !defined(__APPLE__) || \
+#if defined(CONFIG_BSD) && !defined(__APPLE__) || \
(defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10)
fpsetround(val);
#elif defined(__arm__)
@@ -26,7 +26,7 @@ void set_floatx80_rounding_precision(int val STATUS_PARAM)
}
#endif
-#if defined(HOST_BSD) || \
+#if defined(CONFIG_BSD) || \
(defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10)
#define lrint(d) ((int32_t)rint(d))
#define llrint(d) ((int64_t)rint(d))