mirror of
https://github.com/mintsuki/freestanding-headers
synced 2024-11-24 13:29:39 +03:00
17 lines
252 B
C
17 lines
252 B
C
#ifndef _STDDEF_H
|
|
#define _STDDEF_H 1
|
|
|
|
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
|