diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:12:56 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:09:20 -0500 |
commit | 71e72a19bafda97c9e97b089499fdc050e96a631 (patch) | |
tree | fdd6ebb4dd37e6aef7c80db2d6a1231fcad9fa3d /fpu | |
parent | 43da3c088c00a1113643abb0c70379140de39dd8 (diff) |
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')
-rw-r--r-- | fpu/softfloat-native.c | 4 | ||||
-rw-r--r-- | fpu/softfloat-native.h | 4 | ||||
-rw-r--r-- | fpu/softfloat.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/fpu/softfloat-native.c b/fpu/softfloat-native.c index 957698483..4c70b6c4f 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)) diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h index 839e5b156..0bba08440 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 diff --git a/fpu/softfloat.h b/fpu/softfloat.h index b9537c144..f26215088 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -90,7 +90,7 @@ typedef int64_t sbits64; #define FLOAT128 #else /* native float support */ -#if (defined(__i386__) || defined(__x86_64__)) && !defined(HOST_BSD) +#if (defined(__i386__) || defined(__x86_64__)) && !defined(CONFIG_BSD) #define FLOATX80 #endif #endif /* !CONFIG_SOFTFLOAT */ |