author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 0 | 061f57f2323e |
permissions | -rw-r--r-- |
williamr@2 | 1 |
/* |
williamr@2 | 2 |
* © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved. |
williamr@2 | 3 |
* |
williamr@2 | 4 |
* Copyright (c) 1999 |
williamr@2 | 5 |
* Boris Fomitchev |
williamr@2 | 6 |
* |
williamr@2 | 7 |
* This material is provided "as is", with absolutely no warranty expressed |
williamr@2 | 8 |
* or implied. Any use is at your own risk. |
williamr@2 | 9 |
* |
williamr@2 | 10 |
* Permission to use or copy this software for any purpose is hereby granted |
williamr@2 | 11 |
* without fee, provided the above notices are retained on all copies. |
williamr@2 | 12 |
* Permission to modify the code and to distribute modified code is granted, |
williamr@2 | 13 |
* provided the above notices are retained, and a notice that the code was |
williamr@2 | 14 |
* modified is included with the above copyright notice. |
williamr@2 | 15 |
* |
williamr@2 | 16 |
*/ |
williamr@2 | 17 |
|
williamr@2 | 18 |
#ifndef _STLP_CSTDDEF |
williamr@2 | 19 |
# define _STLP_CSTDDEF |
williamr@2 | 20 |
|
williamr@2 | 21 |
# if ! defined (_STLP_WINCE) |
williamr@2 | 22 |
|
williamr@2 | 23 |
# ifndef _STLP_OUTERMOST_HEADER_ID |
williamr@2 | 24 |
# define _STLP_OUTERMOST_HEADER_ID 0x114 |
williamr@2 | 25 |
# include <stl/_prolog.h> |
williamr@2 | 26 |
# endif |
williamr@2 | 27 |
|
williamr@2 | 28 |
# if (__GNUC__ >= 3) && defined(__CYGWIN__) // this total HACK is the only expedient way I could cygwin to work with GCC 3.0 |
williamr@2 | 29 |
# define __need_wint_t // mostly because wint_t didn't seem to get defined otherwise :( |
williamr@2 | 30 |
# define __need_wchar_t |
williamr@2 | 31 |
# define __need_size_t |
williamr@2 | 32 |
# define __need_ptrdiff_t |
williamr@2 | 33 |
# define __need_NULL |
williamr@2 | 34 |
# endif |
williamr@2 | 35 |
|
williamr@2 | 36 |
# if defined (_STLP_USE_NEW_C_HEADERS) |
williamr@2 | 37 |
# include _STLP_NATIVE_CPP_C_HEADER(cstddef) |
williamr@2 | 38 |
# else |
williamr@2 | 39 |
#ifdef __SYMBIAN32__ |
williamr@2 | 40 |
# include <stddef.h> |
williamr@2 | 41 |
#else |
williamr@2 | 42 |
# include _STLP_NATIVE_C_HEADER(stddef.h) |
williamr@2 | 43 |
#endif |
williamr@2 | 44 |
# endif |
williamr@2 | 45 |
|
williamr@2 | 46 |
|
williamr@2 | 47 |
# ifdef _STLP_IMPORT_VENDOR_CSTD |
williamr@2 | 48 |
_STLP_BEGIN_NAMESPACE |
williamr@2 | 49 |
using _STLP_VENDOR_CSTD::ptrdiff_t; |
williamr@2 | 50 |
using _STLP_VENDOR_CSTD::size_t; |
williamr@2 | 51 |
_STLP_END_NAMESPACE |
williamr@2 | 52 |
#endif /* _STLP_IMPORT_VENDOR_CSTD */ |
williamr@2 | 53 |
|
williamr@2 | 54 |
# if (_STLP_OUTERMOST_HEADER_ID == 0x114 ) |
williamr@2 | 55 |
# include <stl/_epilog.h> |
williamr@2 | 56 |
# undef _STLP_OUTERMOST_HEADER_ID |
williamr@2 | 57 |
# endif |
williamr@2 | 58 |
|
williamr@2 | 59 |
#endif /* _STLP_WINCE */ |
williamr@2 | 60 |
|
williamr@2 | 61 |
#endif /* _STLP_CSTDDEF */ |
williamr@2 | 62 |
|
williamr@2 | 63 |
// Local Variables: |
williamr@2 | 64 |
// mode:C++ |
williamr@2 | 65 |
// End: |