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:
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 4d6fcc8e097408beb3a1f2d36890142ee16eaf27..dddc1d194cbc7f75f5b17d39a75ef144a45d12f6 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;