mirror of
https://github.com/UberGames/RPG-X2.git
synced 2024-11-29 07:32:04 +00:00
13 lines
237 B
C
13 lines
237 B
C
|
#ifndef __STDDEF_H
|
||
|
#define __STDDEF_H
|
||
|
#ifndef _SIZE_T_DEFINED
|
||
|
typedef unsigned int size_t;
|
||
|
#define _SIZE_T_DEFINED
|
||
|
#endif
|
||
|
typedef int ptrdiff_t;
|
||
|
#define offsetof(s,m) (int)&(((s *)0)->m)
|
||
|
#ifndef NULL
|
||
|
#define NULL (void *)0
|
||
|
#endif
|
||
|
#endif
|