mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 06:54:14 -04:00
4b30f1a654
* internal_rsp; move size_t and NULL to ultratypes.h * guint.h * Move system variables to os_system.h * controller, pi and vi * osint.h * piint.h * siint, ucode, viint, voiceinternal * Remove remaining variables from variables.h * format * final renames * bss * review * review
15 lines
297 B
C
15 lines
297 B
C
#ifndef LIBC_STDDEF_H
|
|
#define LIBC_STDDEF_H
|
|
|
|
#include "PR/ultratypes.h"
|
|
|
|
typedef s32 ptrdiff_t;
|
|
|
|
#ifdef __GNUC__
|
|
#define offsetof(structure, member) __builtin_offsetof (structure, member)
|
|
#else
|
|
#define offsetof(structure, member) ((size_t)&(((structure*)0)->member))
|
|
#endif
|
|
|
|
#endif /* STDDEF_H */
|