mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Fix cmath includes on GNU
This commit is contained in:
parent
4db966f431
commit
ab5e4f496b
@ -24,13 +24,8 @@
|
||||
#include "dtoolbase.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
// Windows defines isnan() in a different place and with a different
|
||||
// name than everyone else. Sheesh.
|
||||
#ifdef _WIN32
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
#include <limits>
|
||||
#endif
|
||||
|
||||
INLINE float csqrt(float v);
|
||||
INLINE float csin(float v);
|
||||
|
Loading…
x
Reference in New Issue
Block a user