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:
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/math.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 94c9f55db..d0e8439dc 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/math.h (__INFF,__INFL): Remove '#'.
+
2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h
index 0da7869ba..b03bc541f 100644
--- a/winsup/mingw/include/math.h
+++ b/winsup/mingw/include/math.h
@@ -295,11 +295,11 @@ _CRTIMP int __cdecl _set_SSE2_enable (int);
#define INFINITY __builtin_inf()
#define NAN __builtin_nan("")
#else
-#extern const float __INFF;
+extern const float __INFF;
#define HUGE_VALF __INFF
-#extern const long double __INFL;
+extern const long double __INFL;
#define HUGE_VALL __INFL
-#define INFINITY HUGE_VALF
+#define INFINITY HUGE_VALF
extern const double __QNAN;
#define NAN __QNAN
#endif /* __MINGW_GNUC_PREREQ(3, 3) */