X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.h;h=e7d05708aa59c0f80c982b04dcee9581b77ae7cd;hb=44a7a511006ac6ec094cab1ac87522ad72f5bc4d;hp=4cf515e6270abca56c6fe9eb871c083022bc6096;hpb=8265984dce72d262e3865ebad4668d98b5b26d4a;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;