diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-10-11 12:51:44 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-10-11 12:51:44 +0000 |
commit | e2aa5d53db175dff634069cacb31487e3ddb9754 (patch) | |
tree | af972dbca474a0a5833d48bfa80b3aadb28d762a /include | |
parent | 11b8a00a267be70a6f30a630f8cb3323d3b7c4c8 (diff) | |
download | llvm-e2aa5d53db175dff634069cacb31487e3ddb9754.tar.gz llvm-e2aa5d53db175dff634069cacb31487e3ddb9754.tar.bz2 llvm-e2aa5d53db175dff634069cacb31487e3ddb9754.tar.xz |
Add -D__STDC_FORMAT_MACROS to use PRIx64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/DataTypes.h.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Support/DataTypes.h.cmake b/include/llvm/Support/DataTypes.h.cmake index 260ed9bb5c..23d87fbb89 100644 --- a/include/llvm/Support/DataTypes.h.cmake +++ b/include/llvm/Support/DataTypes.h.cmake @@ -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. */ |