From 39ac2cbcd8b74db4f86ea4a995a07d810e56af92 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Thu, 23 Oct 2008 17:20:39 +0000 Subject: [PATCH] Introduce INT64_C macro and unbreak LLVM on MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58039 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/DataTypes.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in index 512b349e73e..b02eb03d05f 100644 --- 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. */