[llvm-commits] [llvm] r58039 - /llvm/trunk/include/llvm/Support/DataTypes.h.in
Argiris Kirtzidis
akyrtzi at gmail.com
Thu Oct 23 10:20:42 PDT 2008
Author: akirtzidis
Date: Thu Oct 23 12:20:39 2008
New Revision: 58039
URL: http://llvm.org/viewvc/llvm-project?rev=58039&view=rev
Log:
Introduce INT64_C macro and unbreak LLVM on MSVC.
Modified:
llvm/trunk/include/llvm/Support/DataTypes.h.in
Modified: llvm/trunk/include/llvm/Support/DataTypes.h.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/DataTypes.h.in?rev=58039&r1=58038&r2=58039&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/DataTypes.h.in (original)
+++ llvm/trunk/include/llvm/Support/DataTypes.h.in Thu Oct 23 12:20:39 2008
@@ -105,6 +105,9 @@
#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. */
More information about the llvm-commits
mailing list