From 2f57be366bc16543ea9c5262e8dc8e3cfd360c20 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 11 Jul 2011 19:40:43 +0000 Subject: [PATCH] .Core: IsNaN support for mingw git-svn-id: svn://ultimatepp.org/upp/trunk@3643 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Defs.h b/uppsrc/Core/Defs.h index e1818be47..70278b863 100644 --- a/uppsrc/Core/Defs.h +++ b/uppsrc/Core/Defs.h @@ -247,7 +247,7 @@ typedef long long unsigned uint64; typedef uint64 qword; -#ifdef COMPILER_MSC +#ifdef PLATFORM_WIN32 inline bool IsNaN(double d) { return _isnan(d); } #else inline bool IsNaN(double d) { return isnan(d); }