diff options
Diffstat (limited to 'plugins/MirLua/Modules/ffi')
-rw-r--r-- | plugins/MirLua/Modules/ffi/src/ffi.h | 2 | ||||
-rw-r--r-- | plugins/MirLua/Modules/ffi/src/msvc/inttypes.h | 31 |
2 files changed, 1 insertions, 32 deletions
diff --git a/plugins/MirLua/Modules/ffi/src/ffi.h b/plugins/MirLua/Modules/ffi/src/ffi.h index 577956b11d..48e5d2c761 100644 --- a/plugins/MirLua/Modules/ffi/src/ffi.h +++ b/plugins/MirLua/Modules/ffi/src/ffi.h @@ -15,7 +15,7 @@ #if _MSC_VER < 1800
# include "msvc/stdbool.h"
-# include "msvc/inttypes.h"
+# include <msapi/inttypes.h>
#else
# include <stdbool.h>
# include <inttypes.h>
diff --git a/plugins/MirLua/Modules/ffi/src/msvc/inttypes.h b/plugins/MirLua/Modules/ffi/src/msvc/inttypes.h deleted file mode 100644 index d7e251d1b4..0000000000 --- a/plugins/MirLua/Modules/ffi/src/msvc/inttypes.h +++ /dev/null @@ -1,31 +0,0 @@ -#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
|