projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60eff44
)
include: Ensure float.h is included for DBL_MAX.
author
Jose Fonseca
<jfonseca@vmware.com>
Thu, 19 Mar 2015 11:51:08 +0000
(11:51 +0000)
committer
Jose Fonseca
<jfonseca@vmware.com>
Sun, 22 Mar 2015 08:23:24 +0000
(08:23 +0000)
I didn't actually hit the issue in practice, but just happen to notice
while looking at the code.
Reviewed-by: Brian Paul <brianp@vmware.com>
include/c99_math.h
patch
|
blob
|
history
diff --git
a/include/c99_math.h
b/include/c99_math.h
index bd35d1b32ed659098f9e333dca7324ddf13e58f6..5b01d53a83af269094b601d30a9155ffb27c432f 100644
(file)
--- a/
include/c99_math.h
+++ b/
include/c99_math.h
@@
-71,6
+71,7
@@
roundf(float x)
#endif
#ifndef INFINITY
+#include <float.h> // DBL_MAX
#define INFINITY (DBL_MAX + DBL_MAX)
#endif