rpg-x2/lcc/bin/include/stddef.h

13 lines
237 B
C
Raw Normal View History

2011-06-01 12:20:56 +00:00
#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