Use _WIN32 instead WIN32. (#4484)

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]
This commit is contained in:
Yonggang Luo authored and GitHub committed 2021-01-16 21:22:28 +01:00
1 parent fe3b0a8435
commit 3ce4dce805
6 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -342,7 +342,7 @@ ecma_number_is_finite (ecma_number_t num) /**< ecma-number */
{
#if defined (__GNUC__) || defined (__clang__)
return __builtin_isfinite (num);
#elif defined (WIN32)
#elif defined (_WIN32)
return isfinite (num);
#else
return !ecma_number_is_nan (num) && !ecma_number_is_infinity (num);