Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-04-04 12:54:50 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-04-04 12:54:50 +0400
commit244a8fae426a68ad51cd610cebd1361a834d676a (patch)
tree42d3b665b1e3a1ec583aa9e05f61af61bef29d59 /winsup/mingw/include
parent932e88a3bc9a924186facecf6220966fa333a004 (diff)
* include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
TLOSS, PLOSS): Move oldname defines back, following the underscored names.
Diffstat (limited to 'winsup/mingw/include')
-rw-r--r--winsup/mingw/include/math.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h
index 3fcaa1e50..d94a7066c 100644
--- a/winsup/mingw/include/math.h
+++ b/winsup/mingw/include/math.h
@@ -46,9 +46,22 @@
*/
#ifndef __STRICT_ANSI__
+#ifndef _NO_OLDNAMES
+
+#define DOMAIN _DOMAIN
+#define SING _SING
+#define OVERFLOW _OVERFLOW
+#define UNDERFLOW _UNDERFLOW
+#define TLOSS _TLOSS
+#define PLOSS _PLOSS
+
+#endif /* Not _NO_OLDNAMES */
+#endif /* Not __STRICT_ANSI__ */
+
/* These are also defined in Mingw float.h; needed here as well to work
around GCC build issues. */
+#ifndef __STRICT_ANSI__
#ifndef __MINGW_FPCLASS_DEFINED
#define __MINGW_FPCLASS_DEFINED 1
#define _FPCLASS_SNAN 0x0001 /* Signaling "Not a Number" */
@@ -62,20 +75,8 @@
#define _FPCLASS_PN 0x0100 /* Positive Normal */
#define _FPCLASS_PINF 0x0200 /* Positive Infinity */
#endif /* __MINGW_FPCLASS_DEFINED */
-
-#ifndef _NO_OLDNAMES
-
-#define DOMAIN _DOMAIN
-#define SING _SING
-#define OVERFLOW _OVERFLOW
-#define UNDERFLOW _UNDERFLOW
-#define TLOSS _TLOSS
-#define PLOSS _PLOSS
-
-#endif /* Not _NO_OLDNAMES */
#endif /* Not __STRICT_ANSI__ */
-
#ifndef RC_INVOKED
#ifdef __cplusplus