ifdef size

This commit is contained in:
bumbread 2022-08-04 16:45:40 +11:00
parent 21a7eabe11
commit febe307f89
1 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,12 @@
#define NULL ((void *)0)
#define offsetof(st, m) ((size_t)((char *)&((st *)0)->m - (char *)0))
typedef unsigned long long size_t;
#if defined(_WIN32)
typedef unsigned long size_t;
#else
typedef unsigned long long size_t;
#endif
typedef long long ptrdiff_t;
typedef long long max_align_t;
typedef unsigned short wchar_t; //