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:
d2fda8a
)
Introduce INT64_C macro and unbreak LLVM on MSVC.
author
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Thu, 23 Oct 2008 17:20:39 +0000
(17:20 +0000)
committer
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Thu, 23 Oct 2008 17:20:39 +0000
(17:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58039
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 512b349e73e848304b25f13beee64c575e0eefec..b02eb03d05f750a82dc3c923d66401996a36d38a 100644
(file)
--- a/
include/llvm/Support/DataTypes.h.in
+++ b/
include/llvm/Support/DataTypes.h.in
@@
-105,6
+105,9
@@
typedef signed int ssize_t;
#define INT32_MAX 2147483647
#define INT32_MIN -2147483648
#define UINT32_MAX 4294967295U
+#if !defined(INT64_C)
+# define INT64_C(val) val##LL
+#endif
#endif /* _MSC_VER */
/* Set defaults for constants which we cannot find. */