Files
RedBear-OS/include/stddef.h
T
2026-06-04 11:17:36 +01:00

20 lines
458 B
C

#ifndef _STDDEF_H
#define _STDDEF_H
// wchar_t should come before NULL and size_t
// according to comment in wchar cbindgen
#include <bits/wchar-t.h>
#include <bits/size-t.h>
#include <bits/null.h>
#ifndef __PTRDIFF_TYPE__
#define __PTRDIFF_TYPE__ long int
#endif
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef struct { long long __ll; long double __ld; } max_align_t;
#define offsetof(type, member) __builtin_offsetof(type, member)
#endif /* _STDDEF_H */