1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-29 08:16:11 +00:00
oot/include/libc/stddef.h

17 lines
309 B
C
Raw Normal View History

#ifndef STDDEF_H
#define STDDEF_H
2020-03-17 04:31:30 +00:00
2020-03-22 21:50:11 +00:00
#define NULL ((void*)0)
2020-03-17 04:31:30 +00:00
typedef unsigned long size_t;
typedef unsigned int uintptr_t;
#ifdef __GNUC__
#define offsetof(structure, member) __builtin_offsetof (structure, member)
#else
#define offsetof(structure, member) ((size_t)&(((structure*)0)->member))
#endif
2020-03-17 04:31:30 +00:00
#endif