newlib: enable new math functions on Cygwin

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-06-27 15:53:51 +02:00
parent b99d49e506
commit 006520ca2b
1 changed files with 4 additions and 0 deletions

View File

@ -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