diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-10-28 02:51:37 +0300 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-10-28 02:51:37 +0300 |
commit | b19cda7bab11229ef6723dc2c7b5511caac1ac88 (patch) | |
tree | 90fabf8e20b1a61decbf13acebcee5be81443905 /winsup/mingw | |
parent | 7cba834bf268e30820ec027298eb1b81830b17e6 (diff) |
* include/math.h: Guard ISO C99 additions with __cplusplus
not __GLIBCPP__.
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/mingw/include/math.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 4268822f3..89499cbe6 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -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> * include/_mingw.h: Define __attribute__((x)) to nothing diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h index af6a40f22..96405229d 100644 --- a/winsup/mingw/include/math.h +++ b/winsup/mingw/include/math.h @@ -241,7 +241,7 @@ _CRTIMP int __cdecl fpclass (double); #ifndef __NO_ISOCEXT #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ - || !defined __STRICT_ANSI__ || defined __GLIBCPP__ + || !defined __STRICT_ANSI__ || defined __cplusplus #define NAN (0.0F/0.0F) #define HUGE_VALF (1.0F/0.0F) |