From 0fca4b50905d5e301d67f01c862e1b7e03754974 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 16 Jun 2016 07:45:02 +0000 Subject: vc2010 compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16988 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/msapi/inttypes.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/msapi/inttypes.h (limited to 'include/msapi') diff --git a/include/msapi/inttypes.h b/include/msapi/inttypes.h new file mode 100644 index 0000000000..d7e251d1b4 --- /dev/null +++ b/include/msapi/inttypes.h @@ -0,0 +1,31 @@ +#pragma once + +/* Signed integers */ +#define PRId8 "d" +#define PRId16 "d" +#define PRId32 "d" +#define PRId64 "I64d" +#define PRIi8 "i" +#define PRIi16 "i" +#define PRIi32 "i" +#define PRIi64 "I64i" + +/* Unsigned integers */ +#define PRIo8 "o" +#define PRIo16 "o" +#define PRIo32 "o" +#define PRIo64 "I64o" +#define PRIu8 "u" +#define PRIu16 "u" +#define PRIu32 "u" +#define PRIu64 "I64u" +#define PRIx8 "x" +#define PRIx16 "x" +#define PRIx32 "x" +#define PRIx64 "I64x" +#define PRIX8 "X" +#define PRIX16 "X" +#define PRIX32 "X" +#define PRIX64 "I64X" +#define PRIxPTR PRIx32 +#define PRIXPTR PRIX32 -- cgit v1.2.3