projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4320f81
)
math.h creates ambiguity
author
Jim Laskey
<jlaskey@mac.com>
Thu, 9 Nov 2006 08:26:22 +0000
(08:26 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Thu, 9 Nov 2006 08:26:22 +0000
(08:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31591
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/DataTypes.h.in
patch
|
blob
|
history
diff --git
a/include/llvm/Support/DataTypes.h.in
b/include/llvm/Support/DataTypes.h.in
index ab438f8805642437421c799e590c18da2dd00a79..b2ca3d3f868ae961d3debbcce9a425be3c608592 100644
(file)
--- a/
include/llvm/Support/DataTypes.h.in
+++ b/
include/llvm/Support/DataTypes.h.in
@@
-50,7
+50,11
@@
#include <stdint.h>
#endif
+#ifdef __cplusplus
+#include <cmath>
+#else
#include <math.h>
+#endif
#ifdef _AIX
#include "llvm/Support/AIXDataTypesFix.h"