diff options
Diffstat (limited to 'src/pal/src/exception/remote-unwind.cpp')
-rw-r--r-- | src/pal/src/exception/remote-unwind.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pal/src/exception/remote-unwind.cpp b/src/pal/src/exception/remote-unwind.cpp index 893cc026c5..c4ff0335e4 100644 --- a/src/pal/src/exception/remote-unwind.cpp +++ b/src/pal/src/exception/remote-unwind.cpp @@ -68,13 +68,19 @@ SET_DEFAULT_DEBUG_CHANNEL(EXCEPT); #include <elf.h> #include <link.h> -#if defined(_X86_) || defined(_ARM_) +#if defined(_X86_) || defined(_ARM_) +#if !defined(PRIx32) +#define PRIx32 "lx" +#endif #define PRIx PRIx32 #define PRIu PRIu32 #define PRId PRId32 #define PRIA "08" #define PRIxA PRIA PRIx #elif defined(_AMD64_) || defined(_ARM64_) +#if !defined(PRIx64) +#define PRIx64 "llx" +#endif #define PRIx PRIx64 #define PRIu PRIu64 #define PRId PRId64 |