aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-10-25 18:46:40 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-10-25 18:46:40 +0000
commit884dc68fe0898f667da1a8b59c79c43702b44066 (patch)
tree20f152e5405438cc458fb79061edd28bbe0b6171 /newlib/libc/include
parentddb2c9e81c18ef48e6c0f20f151ab7fa5dade14c (diff)
downloadnewlib-884dc68fe0898f667da1a8b59c79c43702b44066.zip
newlib-884dc68fe0898f667da1a8b59c79c43702b44066.tar.gz
newlib-884dc68fe0898f667da1a8b59c79c43702b44066.tar.bz2
2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
* libc/include/math.h: (exception): Add a comment telling fixincludes that we handle C vs. C++ issue.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/math.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index 2e1533a..11b1a18 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -336,7 +336,8 @@ extern int *__signgam _PARAMS((void));
#define __signgam_r(ptr) _REENT_SIGNGAM(ptr)
/* The exception structure passed to the matherr routine. */
-
+/* We have a problem when using C++ since `exception' is a reserved
+ name in C++. */
#ifdef __cplusplus
struct __exception
#else