Revision a167ba50 fpu/softfloat-native.h

b/fpu/softfloat-native.h
1 1
/* Native implementation of soft float functions */
2 2
#include <math.h>
3 3

  
4
#if (defined(CONFIG_BSD) && !defined(__APPLE__)) || defined(CONFIG_SOLARIS)
4
#if (defined(CONFIG_BSD) && !defined(__APPLE__) && !defined(__GLIBC__)) \
5
    || defined(CONFIG_SOLARIS)
5 6
#include <ieeefp.h>
6 7
#define fabsf(f) ((float)fabs(f))
7 8
#else
......
112 113
/*----------------------------------------------------------------------------
113 114
| Software IEC/IEEE floating-point rounding mode.
114 115
*----------------------------------------------------------------------------*/
115
#if (defined(CONFIG_BSD) && !defined(__APPLE__)) || defined(CONFIG_SOLARIS)
116
#if (defined(CONFIG_BSD) && !defined(__APPLE__) && !defined(__GLIBC__)) \
117
    || defined(CONFIG_SOLARIS)
116 118
#if defined(__OpenBSD__)
117 119
#define FE_RM FP_RM
118 120
#define FE_RP FP_RP

Also available in: Unified diff