mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-24 11:45:27 +01:00
20 lines
288 B
C
20 lines
288 B
C
|
|
#include "stdint.h"
|
|
|
|
// How can we prevent VC to define this ?
|
|
#ifdef _MSC_VER
|
|
|
|
// VS define size_t, but can't find a macro for SIZE_T_MAX
|
|
#define SIZE_T_MAX MAX_UINTN
|
|
|
|
#else
|
|
|
|
#define SIZE_T_MAX MAX_UINTN
|
|
typedef UINTN2 size_t;
|
|
|
|
#endif
|
|
|
|
typedef INTN ptrdiff_t;
|
|
typedef UINTN uintptr_t;
|
|
|