summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 6d51877..e26e39f 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -64,6 +64,8 @@ extern _LIB_VERSION_TYPE _LIB_VERSION;
#define _XOPEN_ fdlibm_xopen
#define _POSIX_ fdlibm_posix
+/* We have a problem when using C++ since `exception' is a reserved
+ name in C++. */
#ifndef __cplusplus
struct exception {
int type;
OpenPOWER on IntegriCloud