haiku/headers/posix/stddef.h
shatty 220ac08aa6 gnu free rewrite of stddef.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 07:47:24 +00:00

16 lines
272 B
C

#ifndef _STDDEF_H_
#define _STDDEF_H_
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <null.h>
#define offsetof(type,member) ((size_t)&((type*)0)->member)
typedef long ptrdiff_t;
#include <wchar_t.h>
#include <size_t.h>
#endif /* _STDDEF_H_ */