Introduce INT64_C macro and unbreak LLVM on MSVC.
[oota-llvm.git] / include / llvm / Support / DataTypes.h.in
index 512b349e73e848304b25f13beee64c575e0eefec..b02eb03d05f750a82dc3c923d66401996a36d38a 100644 (file)
@@ -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. */