X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.h;h=e7d05708aa59c0f80c982b04dcee9581b77ae7cd;hb=26debbd380c6922e5a0b60d99567c6374a4fef9a;hp=4cf515e6270abca56c6fe9eb871c083022bc6096;hpb=af283344ca70f7fbe9abd0d269511bc4ec3ff4bf;p=lugaru.git diff --git a/Source/WinDefs.h b/Source/WinDefs.h index 4cf515e..e7d0570 100644 --- a/Source/WinDefs.h +++ b/Source/WinDefs.h @@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include -#include +#include // 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;