2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
7 * This material is provided "as is", with absolutely no warranty expressed
8 * or implied. Any use is at your own risk.
10 * Permission to use or copy this software for any purpose is hereby granted
11 * without fee, provided the above notices are retained on all copies.
12 * Permission to modify the code and to distribute modified code is granted,
13 * provided the above notices are retained, and a notice that the code was
14 * modified is included with the above copyright notice.
19 # define _STLP_CSTDDEF
21 # if ! defined (_STLP_WINCE)
23 # ifndef _STLP_OUTERMOST_HEADER_ID
24 # define _STLP_OUTERMOST_HEADER_ID 0x114
25 # include <stl/_prolog.h>
28 # if (__GNUC__ >= 3) && defined(__CYGWIN__) // this total HACK is the only expedient way I could cygwin to work with GCC 3.0
29 # define __need_wint_t // mostly because wint_t didn't seem to get defined otherwise :(
30 # define __need_wchar_t
31 # define __need_size_t
32 # define __need_ptrdiff_t
36 # if defined (_STLP_USE_NEW_C_HEADERS)
37 # include _STLP_NATIVE_CPP_C_HEADER(cstddef)
42 # include _STLP_NATIVE_C_HEADER(stddef.h)
47 # ifdef _STLP_IMPORT_VENDOR_CSTD
49 using _STLP_VENDOR_CSTD::ptrdiff_t;
50 using _STLP_VENDOR_CSTD::size_t;
52 #endif /* _STLP_IMPORT_VENDOR_CSTD */
54 # if (_STLP_OUTERMOST_HEADER_ID == 0x114 )
55 # include <stl/_epilog.h>
56 # undef _STLP_OUTERMOST_HEADER_ID
59 #endif /* _STLP_WINCE */
61 #endif /* _STLP_CSTDDEF */