OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8afc46
)
Attempt to fix BuildBot breakage with MSVC.
author
Eli Friedman
<eli.friedman@gmail.com>
Wed, 22 Jul 2009 05:06:41 +0000
(
05:06
+0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Wed, 22 Jul 2009 05:06:41 +0000
(
05:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76722
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/DataTypes.h.cmake
patch
|
blob
|
history
diff --git
a/include/llvm/Support/DataTypes.h.cmake
b/include/llvm/Support/DataTypes.h.cmake
index
4d6fcc8
..
dddc1d1
100644
(file)
--- a/
include/llvm/Support/DataTypes.h.cmake
+++ b/
include/llvm/Support/DataTypes.h.cmake
@@
-95,6
+95,11
@@
typedef u_int64_t uint64_t;
#include <stdlib.h>
#include <stddef.h>
#include <sys/types.h>
+#ifdef __cplusplus
+#include <cmath>
+#else
+#include <math.h>
+#endif
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef signed int int32_t;