diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2018-06-27 15:53:51 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-06-27 15:53:51 +0200 |
commit | 006520ca2b7a23ea21dcbb7ddd276ac51badb7fd (patch) | |
tree | 2ddff8e2d458e7d2b079e98978cb25b933172ab5 /newlib | |
parent | b99d49e506f595c4be91072fe0169a405ae16007 (diff) | |
download | newlib-006520ca2b7a23ea21dcbb7ddd276ac51badb7fd.zip newlib-006520ca2b7a23ea21dcbb7ddd276ac51badb7fd.tar.gz newlib-006520ca2b7a23ea21dcbb7ddd276ac51badb7fd.tar.bz2 |
newlib: enable new math functions on Cygwin
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/include/machine/ieeefp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h index 88b83f6..23a365e 100644 --- a/newlib/libc/include/machine/ieeefp.h +++ b/newlib/libc/include/machine/ieeefp.h @@ -467,6 +467,10 @@ #define __IEEE_BIG_ENDIAN #endif +#ifdef __CYGWIN__ +#define __OBSOLETE_MATH_DEFAULT 0 +#endif + #ifndef __OBSOLETE_MATH_DEFAULT /* Use old math code by default. */ #define __OBSOLETE_MATH_DEFAULT 1 |