epoc32/include/stdapis/stlportv5/stl/_cstddef.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/stlportv5/stl/_cstddef.h	Wed Mar 31 12:27:01 2010 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +/*
     1.5 + * Copyright (c) 1999
     1.6 + * Boris Fomitchev
     1.7 + *
     1.8 + * This material is provided "as is", with absolutely no warranty expressed
     1.9 + * or implied. Any use is at your own risk.
    1.10 + *
    1.11 + * Permission to use or copy this software for any purpose is hereby granted
    1.12 + * without fee, provided the above notices are retained on all copies.
    1.13 + * Permission to modify the code and to distribute modified code is granted,
    1.14 + * provided the above notices are retained, and a notice that the code was
    1.15 + * modified is included with the above copyright notice.
    1.16 + *
    1.17 + */
    1.18 +
    1.19 +#ifndef _STLP_INTERNAL_CSTDDEF
    1.20 +#define _STLP_INTERNAL_CSTDDEF
    1.21 +
    1.22 +#  if (__GNUC__ >= 3) && defined (__CYGWIN__) // this total HACK is the only expedient way I could cygwin to work with GCC 3.0
    1.23 +#    define __need_wint_t // mostly because wint_t didn't seem to get defined otherwise :(
    1.24 +#    define __need_wchar_t
    1.25 +#    define __need_size_t
    1.26 +#    define __need_ptrdiff_t
    1.27 +#    define __need_NULL
    1.28 +#  endif
    1.29 +
    1.30 +#  if defined (_STLP_USE_NEW_C_HEADERS)
    1.31 +#    include _STLP_NATIVE_CPP_C_HEADER(cstddef)
    1.32 +#  else
    1.33 +#    include <stddef.h>
    1.34 +#  endif
    1.35 +
    1.36 +#  ifdef _STLP_IMPORT_VENDOR_CSTD
    1.37 +_STLP_BEGIN_NAMESPACE
    1.38 +using _STLP_VENDOR_CSTD::ptrdiff_t;
    1.39 +using _STLP_VENDOR_CSTD::size_t;
    1.40 +_STLP_END_NAMESPACE
    1.41 +#  endif /* _STLP_IMPORT_VENDOR_CSTD */
    1.42 +
    1.43 +#endif /* _STLP_INTERNAL_CSTDDEF */