added define for isnanf to be _isnanf on windows, because windows sucks

This commit is contained in:
Scott-G-GD 2023-11-21 11:03:45 +01:00
parent 8961e38113
commit 960783ac42

View file

@ -4,6 +4,11 @@
#include "stddef.h"
#include <math.h>
#if defined _WIN32 && ! defined isnanf
# define isnanf(x) _isnanf(x)
# define HAVE_ISNANF
#endif
#if VMATH_SDL == 1
#include <SDL2/SDL_rect.h>