From 960783ac42bbe1396c793d2329b5fb253b691f79 Mon Sep 17 00:00:00 2001 From: Scott-G-GD Date: Tue, 21 Nov 2023 11:03:45 +0100 Subject: [PATCH] added define for isnanf to be _isnanf on windows, because windows sucks --- core/src/vmath.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/vmath.h b/core/src/vmath.h index 9b2aed2..4c92d6b 100644 --- a/core/src/vmath.h +++ b/core/src/vmath.h @@ -4,6 +4,11 @@ #include "stddef.h" #include +#if defined _WIN32 && ! defined isnanf +# define isnanf(x) _isnanf(x) +# define HAVE_ISNANF +#endif + #if VMATH_SDL == 1 #include