rpg-x2/lcc/bin/include/stddef.h
2011-06-01 14:20:56 +02:00

12 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