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}/Settings.h
${SRCDIR}/Stereo.h
${SRCDIR}/Animation.h
- ${SRCDIR}/Animation.def
// stuff to make Mac code compatable with Windows
// stuff to make Mac code compatable with Windows
Duration AbsoluteDeltaToDuration( AbsoluteTime& a, AbsoluteTime& b);
Duration AbsoluteDeltaToDuration( AbsoluteTime& a, AbsoluteTime& b);
inline bool isnormal( double x)
{
int ret = _fpclass( x);
return (ret == _FPCLASS_NN || ret == _FPCLASS_PN);
}
inline bool isnormal( double x)
{
int ret = _fpclass( x);
return (ret == _FPCLASS_NN || ret == _FPCLASS_PN);
}
typedef unsigned int uintptr_t;
typedef unsigned int uintptr_t;