diff --git a/neo/portability/inttypes.h b/neo/portability/inttypes.h new file mode 100644 index 00000000..e1778af7 --- /dev/null +++ b/neo/portability/inttypes.h @@ -0,0 +1,13 @@ +#pragma once + +#ifdef _MSV_VER + +#define PRIuSIZE "Iu" +#define PRIxSIZE "Ix" + +#else // ifdef _MSV_VER + +#define PRIuSIZE "zu" +#define PRIxSIZE "zx" + +#endif // ifdef _MSV_VER