We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3797 - configure check for float.h
Summary: configure check for float.h
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 trivial
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-05 18:11 UTC by Ozkan Sezer
Modified: 2017-09-06 08:14 UTC (History)
0 users

See Also:


Attachments
configury patch for float.h (2.39 KB, patch)
2017-09-05 18:11 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ozkan Sezer 2017-09-05 18:11:21 UTC
Created attachment 2912 [details]
configury patch for float.h

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.
Comment 1 Sam Lantinga 2017-09-06 08:14:40 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/3db9f2a42870