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

This commit is contained in:
Sara 2023-11-21 11:03:45 +01:00 committed by Scott-G-GD
parent 810761aedf
commit 4e5ed0af94

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>