]> sourceware.org Git - newlib-cygwin.git/commitdiff
2006-11-30 Lev Bishop <lev.bishop@gmail.com>
authorJeff Johnston <jjohnstn@redhat.com>
Thu, 30 Nov 2006 23:40:12 +0000 (23:40 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Thu, 30 Nov 2006 23:40:12 +0000 (23:40 +0000)
        * libc/include/math.h: Allow C99 functions/macros to be
        defined for C++ even when __STRICT_ANSI__.

newlib/ChangeLog
newlib/libc/include/math.h

index cab8db24ebf11053b98eebf6e7e68312ed1db641..b6d3928fc3d722d4bbf0cdff0a99450f78393eea 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-30  Lev Bishop  <lev.bishop@gmail.com>
+
+       * libc/include/math.h: Allow C99 functions/macros to be
+       defined for C++ even when __STRICT_ANSI__.
+
 2006-11-29  Jeff Johnston  <jjohnstn@redhat.com>
 
        * libc/stdio/makebuf.c (__smakebuf): If dealing with
index 11b1a184566b5c083665ecaba2045def42a4f4d6..3e96757c8e36e3bb61708df039e0562c5474c00f 100644 (file)
@@ -102,7 +102,7 @@ extern double fmod _PARAMS((double, double));
 #endif /* ! defined (__math_68881) */
 #endif /* ! defined (_REENT_ONLY) */
 
-#ifndef __STRICT_ANSI__
+#if !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 /* ISO C99 types and macros. */
 
@@ -233,7 +233,7 @@ extern double drem _PARAMS((double, double));
 
 #endif /* ! defined (_REENT_ONLY) */
 
-#endif /* ! defined (__STRICT_ANSI__) */
+#endif /* !defined (__STRICT_ANSI__) || defined(__cplusplus)  */
 
 #if !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
This page took 0.047903 seconds and 5 git commands to generate.