freestanding-headers/stddef.h

17 lines
252 B
C
Raw Normal View History

2022-03-02 20:18:08 +03:00
#ifndef _STDDEF_H
#define _STDDEF_H 1
2022-02-15 07:46:37 +03:00
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