mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
OSX has a isnan that conflicts with this .. ??
This commit is contained in:
parent
8f087a2d56
commit
e4a267db75
@ -17,11 +17,13 @@
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef isnan
|
||||
#define isnan(x) \
|
||||
((sizeof(x) == sizeof(double)) ? \
|
||||
__isnand(x) : \
|
||||
(sizeof(x) == sizeof(float)) ? __isnanf(x) : __isnan(x))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __INTEL_COMPILER
|
||||
// see float.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user