1.1 --- a/epoc32/include/stdapis/stlport/cstd/cstddef Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/cstd/cstddef Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,65 @@
1.4 -cstddef
1.5 +/*
1.6 + * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
1.7 + *
1.8 + * Copyright (c) 1999
1.9 + * Boris Fomitchev
1.10 + *
1.11 + * This material is provided "as is", with absolutely no warranty expressed
1.12 + * or implied. Any use is at your own risk.
1.13 + *
1.14 + * Permission to use or copy this software for any purpose is hereby granted
1.15 + * without fee, provided the above notices are retained on all copies.
1.16 + * Permission to modify the code and to distribute modified code is granted,
1.17 + * provided the above notices are retained, and a notice that the code was
1.18 + * modified is included with the above copyright notice.
1.19 + *
1.20 + */
1.21 +
1.22 +#ifndef _STLP_CSTDDEF
1.23 +# define _STLP_CSTDDEF
1.24 +
1.25 +# if ! defined (_STLP_WINCE)
1.26 +
1.27 +# ifndef _STLP_OUTERMOST_HEADER_ID
1.28 +# define _STLP_OUTERMOST_HEADER_ID 0x114
1.29 +# include <stl/_prolog.h>
1.30 +# endif
1.31 +
1.32 +# if (__GNUC__ >= 3) && defined(__CYGWIN__) // this total HACK is the only expedient way I could cygwin to work with GCC 3.0
1.33 +# define __need_wint_t // mostly because wint_t didn't seem to get defined otherwise :(
1.34 +# define __need_wchar_t
1.35 +# define __need_size_t
1.36 +# define __need_ptrdiff_t
1.37 +# define __need_NULL
1.38 +# endif
1.39 +
1.40 +# if defined (_STLP_USE_NEW_C_HEADERS)
1.41 +# include _STLP_NATIVE_CPP_C_HEADER(cstddef)
1.42 +# else
1.43 +#ifdef __SYMBIAN32__
1.44 +# include <stddef.h>
1.45 +#else
1.46 +# include _STLP_NATIVE_C_HEADER(stddef.h)
1.47 +#endif
1.48 +# endif
1.49 +
1.50 +
1.51 +# ifdef _STLP_IMPORT_VENDOR_CSTD
1.52 +_STLP_BEGIN_NAMESPACE
1.53 +using _STLP_VENDOR_CSTD::ptrdiff_t;
1.54 +using _STLP_VENDOR_CSTD::size_t;
1.55 +_STLP_END_NAMESPACE
1.56 +#endif /* _STLP_IMPORT_VENDOR_CSTD */
1.57 +
1.58 +# if (_STLP_OUTERMOST_HEADER_ID == 0x114 )
1.59 +# include <stl/_epilog.h>
1.60 +# undef _STLP_OUTERMOST_HEADER_ID
1.61 +# endif
1.62 +
1.63 +#endif /* _STLP_WINCE */
1.64 +
1.65 +#endif /* _STLP_CSTDDEF */
1.66 +
1.67 +// Local Variables:
1.68 +// mode:C++
1.69 +// End: