2003-08-02 11:47:24 +04:00
|
|
|
#ifndef _STDDEF_H_
|
2002-10-24 00:35:37 +04:00
|
|
|
#define _STDDEF_H_
|
2003-08-02 11:47:24 +04:00
|
|
|
/*
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
#include <null.h>
|
2002-10-24 00:35:37 +04:00
|
|
|
|
2003-08-02 11:47:24 +04:00
|
|
|
#define offsetof(type,member) ((size_t)&((type*)0)->member)
|
2002-10-24 00:35:37 +04:00
|
|
|
|
2003-08-02 11:47:24 +04:00
|
|
|
typedef long ptrdiff_t;
|
2002-10-24 00:35:37 +04:00
|
|
|
|
2003-08-02 11:47:24 +04:00
|
|
|
#include <wchar_t.h>
|
|
|
|
#include <size_t.h>
|
2002-10-24 00:35:37 +04:00
|
|
|
|
2003-08-02 11:47:24 +04:00
|
|
|
#endif /* _STDDEF_H_ */
|