gcc's float.h is missing _fpclass(). mingw's float.h should work but for some reason it wasn't being used. using math.h fixes the problem.
the linker was being passed .def files, so I removed those.
${SRCDIR}/Settings.h
${SRCDIR}/Stereo.h
${SRCDIR}/Animation.h
- ${SRCDIR}/Animation.def
${SRCDIR}/Sounds.h
- ${SRCDIR}/Sounds.def
)
if(UNIX)
#include <stdio.h>
-#include <float.h>
+#include <math.h>
// stuff to make Mac code compatable with Windows
Duration AbsoluteDeltaToDuration( AbsoluteTime& a, AbsoluteTime& b);
+/*
inline bool isnormal( double x)
{
int ret = _fpclass( x);
return (ret == _FPCLASS_NN || ret == _FPCLASS_PN);
}
+*/
typedef unsigned int uintptr_t;