mirror of https://github.com/flysand7/ciabatta.git
ifdef size
This commit is contained in:
parent
21a7eabe11
commit
febe307f89
|
@ -8,7 +8,12 @@
|
||||||
#define NULL ((void *)0)
|
#define NULL ((void *)0)
|
||||||
#define offsetof(st, m) ((size_t)((char *)&((st *)0)->m - (char *)0))
|
#define offsetof(st, m) ((size_t)((char *)&((st *)0)->m - (char *)0))
|
||||||
|
|
||||||
|
#if defined(_WIN32)
|
||||||
|
typedef unsigned long size_t;
|
||||||
|
#else
|
||||||
typedef unsigned long long size_t;
|
typedef unsigned long long size_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef long long ptrdiff_t;
|
typedef long long ptrdiff_t;
|
||||||
typedef long long max_align_t;
|
typedef long long max_align_t;
|
||||||
typedef unsigned short wchar_t; //
|
typedef unsigned short wchar_t; //
|
||||||
|
|
Loading…
Reference in New Issue