diff options
author | rofl0r <retnyg@gmx.net> | 2013-01-04 13:05:42 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2013-01-04 20:36:34 +0100 |
commit | 2ba3f44db51a816d3f89ca64d8943a3bee03fa5f (patch) | |
tree | 739e0039558f9e3966eee8bf88f21688815958cf /include/math.h | |
parent | 87781ac64ce5fcd68fb2cf32a3b4305a807e6367 (diff) | |
download | musl-2ba3f44db51a816d3f89ca64d8943a3bee03fa5f.tar.gz |
add legacy header values.h
some programs (procps, babl) expect it, and it doesn't seem to
cause any harm to just add it.
it's small and straightforward.
since math.h also defines MAXFLOAT, we undef it in both places,
before defining it.
Diffstat (limited to 'include/math.h')
-rw-r--r-- | include/math.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/math.h b/include/math.h index 19108795..c4da4116 100644 --- a/include/math.h +++ b/include/math.h @@ -346,6 +346,7 @@ long double truncl(long double); #if defined(_XOPEN_SOURCE) || defined(_BSD_SOURCE) +#undef MAXFLOAT #define MAXFLOAT 3.40282347e+38F #endif |