Revision fc81ba53 fpu/softfloat-native.c

b/fpu/softfloat-native.c
30 30
#define sqrtf(f)		((float)sqrt(f))
31 31
#define remainderf(fa, fb)	((float)remainder(fa, fb))
32 32
#define rintf(f)		((float)rint(f))
33
#if !defined(__sparc__) && HOST_SOLARIS < 10
33
#if !defined(__sparc__) && defined(HOST_SOLARIS) && HOST_SOLARIS < 10
34 34
extern long double rintl(long double);
35 35
extern long double scalbnl(long double, int);
36 36

  
......
336 336
/*----------------------------------------------------------------------------
337 337
| Software IEC/IEEE double-precision operations.
338 338
*----------------------------------------------------------------------------*/
339
#if ( defined(__sun__) && ( HOST_SOLARIS < 10 ))
339
#if defined(__sun__) && defined(HOST_SOLARIS) && HOST_SOLARIS < 10
340 340
static inline float64 trunc(float64 x)
341 341
{
342 342
    return x < 0 ? -floor(-x) : floor(x);

Also available in: Unified diff