2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
33 There seems to be a lot of nonsense about _need_wchar_t etc., but for
34 STDLIB we have cut the Gordian knot and done the simple thing.
36 #ifndef __wchar_t_defined
38 typedef unsigned short int wchar_t;
42 #ifndef _PTRDIFF_T_DEFINED
43 #define _PTRDIFF_T_DEFINED
44 typedef long ptrdiff_t;
45 #endif //_PTRDIFF_T_DEFINED
47 #ifndef _SIZE_T_DEFINED
48 #define _SIZE_T_DEFINED
49 typedef unsigned int size_t;
50 #endif //_SIZE_T_DEFINED
53 Offset of member MEMBER in a struct of type TYPE.
55 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
57 #endif /* _STDDEF_H_ */