summaryrefslogtreecommitdiff
path: root/include/SDL_config.h.cmake
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2017-09-06 01:14:23 -0700
committerSam Lantinga <slouken@libsdl.org>2017-09-06 01:14:23 -0700
commitde9d602503ba37779b3e80814f20d69e655ce126 (patch)
tree07e32862946b40377608f1f57862f741a8e09938 /include/SDL_config.h.cmake
parentfd695161b17cd8a0731e5d0e6f959c062f79b975 (diff)
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.
Diffstat (limited to 'include/SDL_config.h.cmake')
-rw-r--r--include/SDL_config.h.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake
index c57266c413..96641e7680 100644
--- a/include/SDL_config.h.cmake
+++ b/include/SDL_config.h.cmake
@@ -78,6 +78,7 @@
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_CTYPE_H 1
#cmakedefine HAVE_MATH_H 1
+#cmakedefine HAVE_FLOAT_H 1
#cmakedefine HAVE_ICONV_H 1
#cmakedefine HAVE_SIGNAL_H 1
#cmakedefine HAVE_ALTIVEC_H 1