* include/math.h: Guard ISO C99 additions with __cplusplus

not __GLIBCPP__.
This commit is contained in:
Danny Smith 2003-10-27 23:51:37 +00:00
parent 7cba834bf2
commit b19cda7bab
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h: Guard ISO C99 additions with __cplusplus
not __GLIBCPP__.
2003-10-21 Danny Smith <dannysmith@users.sourceforge.net> 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h: Define __attribute__((x)) to nothing * include/_mingw.h: Define __attribute__((x)) to nothing

View File

@ -241,7 +241,7 @@ _CRTIMP int __cdecl fpclass (double);
#ifndef __NO_ISOCEXT #ifndef __NO_ISOCEXT
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|| !defined __STRICT_ANSI__ || defined __GLIBCPP__ || !defined __STRICT_ANSI__ || defined __cplusplus
#define NAN (0.0F/0.0F) #define NAN (0.0F/0.0F)
#define HUGE_VALF (1.0F/0.0F) #define HUGE_VALF (1.0F/0.0F)