Fixed bug 3797 - configure check for float.h

Ozkan Sezer

Cmake checks for float.h, but configure does not:  the attached patch
adds float.h to checked headers in configury, and it adds the missing
HAVE_FLOAT_H macro to SDL_config.h.cmake and SDL_config.h.in.

In SDL_config_macosx.h and SDL_config_windows.h, defined HAVE_FLOAT_H
as 1, where I know that it's true.
This commit is contained in:
Sam Lantinga 2017-09-06 01:14:23 -07:00
parent c8e3e0c414
commit d51dc7378b
6 changed files with 6 additions and 2 deletions

View file

@ -46,6 +46,7 @@
#define HAVE_STDINT_H 1
#define HAVE_CTYPE_H 1
#define HAVE_MATH_H 1
#define HAVE_FLOAT_H 1
#define HAVE_SIGNAL_H 1
/* C library functions */