This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] newlib: enable new math functions on Cygwin


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=006520ca2b7a23ea21dcbb7ddd276ac51badb7fd

commit 006520ca2b7a23ea21dcbb7ddd276ac51badb7fd
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jun 27 15:53:51 2018 +0200

    newlib: enable new math functions on Cygwin
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 newlib/libc/include/machine/ieeefp.h | 4 ++++
 1 file changed, 4 insertions(+)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]