msvc fixes

This commit is contained in:
Anthony Green
2018-03-27 11:49:46 -04:00
parent a2326aaf56
commit a82b456e98
2 changed files with 11 additions and 1 deletions

View File

@@ -79,12 +79,14 @@
#define PRIdLL "ld"
#undef PRIuLL
#define PRIuLL "lu"
#ifndef _MSC_VER
#define PRId8 "hd"
#define PRIu8 "hu"
#define PRId64 "ld"
#define PRIu64 "lu"
#define PRIuPTR "lu"
#endif
#endif
/* PA HP-UX kludge. */
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)