mirror of
https://github.com/mintsuki/freestanding-headers
synced 2024-11-25 22:09:36 +03:00
17 lines
256 B
C
17 lines
256 B
C
|
#ifndef __STDDEF_H__
|
||
|
#define __STDDEF_H__
|
||
|
|
||
|
typedef __SIZE_TYPE__ size_t;
|
||
|
typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
||
|
typedef __WCHAR_TYPE__ wchar_t;
|
||
|
|
||
|
#ifdef NULL
|
||
|
#undef NULL
|
||
|
#endif
|
||
|
|
||
|
#define NULL ((void *)0)
|
||
|
|
||
|
#define offsetof(s, m) __builtin_offsetof(s, m)
|
||
|
|
||
|
#endif
|