CloverBootloader/rEFIt_UEFI/Platform/Posix/stddef.h

20 lines
288 B
C
Raw Normal View History

#include "stdint.h"
2020-03-13 15:37:37 +01:00
// 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;