mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Add more PRI.64 macros for MSVC and use them throughout the codebase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -167,9 +167,24 @@ typedef signed int ssize_t;
|
||||
# define UINT64_C(C) C##ui64
|
||||
#endif
|
||||
|
||||
#ifndef PRId64
|
||||
# define PRId64 "I64d"
|
||||
#endif
|
||||
#ifndef PRIi64
|
||||
# define PRIu64 "I64i"
|
||||
#endif
|
||||
#ifndef PRIo64
|
||||
# define PRIx64 "I64o"
|
||||
#endif
|
||||
#ifndef PRIu64
|
||||
# define PRIu64 "I64u"
|
||||
#endif
|
||||
#ifndef PRIx64
|
||||
# define PRIx64 "I64x"
|
||||
#endif
|
||||
#ifndef PRIX64
|
||||
# define PRIX64 "I64X"
|
||||
#endif
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
@ -167,9 +167,24 @@ typedef signed int ssize_t;
|
||||
# define UINT64_C(C) C##ui64
|
||||
#endif
|
||||
|
||||
#ifndef PRId64
|
||||
# define PRId64 "I64d"
|
||||
#endif
|
||||
#ifndef PRIi64
|
||||
# define PRIu64 "I64i"
|
||||
#endif
|
||||
#ifndef PRIo64
|
||||
# define PRIx64 "I64o"
|
||||
#endif
|
||||
#ifndef PRIu64
|
||||
# define PRIu64 "I64u"
|
||||
#endif
|
||||
#ifndef PRIx64
|
||||
# define PRIx64 "I64x"
|
||||
#endif
|
||||
#ifndef PRIX64
|
||||
# define PRIX64 "I64X"
|
||||
#endif
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
Reference in New Issue
Block a user