mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 00:41:51 +00:00
Macros for format references to size_t
This commit is contained in:
parent
e61eae499c
commit
27e25cfb08
1 changed files with 13 additions and 0 deletions
13
neo/portability/inttypes.h
Normal file
13
neo/portability/inttypes.h
Normal file
|
@ -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
|
Loading…
Reference in a new issue