]> git.jsancho.org Git - lugaru.git/blobdiff - Source/WinDefs.h
get it to compile on my mingw setup
[lugaru.git] / Source / WinDefs.h
index 4cf515e6270abca56c6fe9eb871c083022bc6096..e7d05708aa59c0f80c982b04dcee9581b77ae7cd 100644 (file)
@@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 
 #include <stdio.h>
-#include <float.h>
+#include <math.h>
 
 // stuff to make Mac code compatable with Windows
 
@@ -84,11 +84,13 @@ enum
 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;