mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-24 05:55:01 +03:00
b698fd3628
* headers * format * format * format again * headers oh my * irix is love * irix is life * working * even more fixes * format * touching to rebuild
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 */
|