< prev index next >
src/java.base/unix/native/libjava/jdk_util_md.h
Print this page
rev 59105 : imported patch corelibs
*** 25,39 ****
#ifndef JDK_UTIL_MD_H
#define JDK_UTIL_MD_H
// checking for nanness
! #ifdef __solaris__
! #include <ieeefp.h>
! #define ISNANF(f) isnanf(f)
! #define ISNAND(d) isnand(d)
! #elif defined(MACOSX)
#include <math.h>
#define ISNANF(f) isnan(f)
#define ISNAND(d) isnan(d)
#elif defined(__linux__) || defined(_ALLBSD_SOURCE)
#include <math.h>
--- 25,35 ----
#ifndef JDK_UTIL_MD_H
#define JDK_UTIL_MD_H
// checking for nanness
! #if defined(MACOSX)
#include <math.h>
#define ISNANF(f) isnan(f)
#define ISNAND(d) isnan(d)
#elif defined(__linux__) || defined(_ALLBSD_SOURCE)
#include <math.h>
< prev index next >