Add -D__STDC_FORMAT_MACROS to use PRIx64.
[oota-llvm.git] / include / llvm / Support / DataTypes.h.cmake
index 260ed9bb5c4b10768316d7c25c42ce7cafc8e474..23d87fbb8919b331c3011b75dd68b0cf92f37cfa 100644 (file)
@@ -164,6 +164,11 @@ typedef signed int ssize_t;
 #ifndef UINT64_C
 # define UINT64_C(C) C##ui64
 #endif
+
+#ifndef PRIx64
+# define PRIx64 "I64x"
+#endif
+
 #endif /* _MSC_VER */
 
 /* Set defaults for constants which we cannot find. */