public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib: enable new math functions on Cygwin
@ 2018-06-27 13:53 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2018-06-27 13:53 UTC (permalink / raw)
  To: newlib-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-27 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27 13:53 [newlib-cygwin] newlib: enable new math functions on Cygwin Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).