VLSI Solution Oy / MegaLib Documentation

stddef.h

Go to the documentation of this file.
00001 #ifndef _STDDEF_H_
00002 #define _STDDEF_H_
00003 
00004 #ifndef _SIZE_T
00005 #define _SIZE_T
00006 typedef unsigned int size_t;
00007 #endif /* _SIZE_T */
00008 typedef signed int ptrdiff_t;
00009 typedef short wchar_t;
00010 
00011 #ifndef NULL
00012 #define NULL    0
00013 #endif
00014 
00015 #define offsetof(type, member)  ((size_t)(&((type *)0)->member))
00016 
00017 #endif /* _STDDEF_H_ */

All software copyright 2005-2006 VLSI Solution OY. Redistribution of this software is strictly forbidden.