epoc32/include/stdapis/stlportv5/cerrno
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/stlportv5/cerrno	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,52 @@
     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_CERRNO
    1.20 +# define _STLP_CERRNO
    1.21 +
    1.22 +# ifndef _STLP_OUTERMOST_HEADER_ID
    1.23 +#  define _STLP_OUTERMOST_HEADER_ID 0x105
    1.24 +#  include <stl/_prolog.h>
    1.25 +# endif
    1.26 +
    1.27 +# ifndef _STLP_WCE
    1.28 +# if defined (_STLP_USE_NEW_C_HEADERS)
    1.29 +#  include _STLP_NATIVE_CPP_C_HEADER(cerrno)
    1.30 +# else
    1.31 +#  include <errno.h>
    1.32 +# endif
    1.33 +# endif
    1.34 +
    1.35 +#ifndef errno
    1.36 +
    1.37 +# if defined (_STLP_IMPORT_VENDOR_CSTD) && \
    1.38 +  ! defined (__IBMCPP__) && ! defined(__hpux) && ! defined(__MWERKS__) && !defined(_STLP_WCE)
    1.39 +_STLP_BEGIN_NAMESPACE
    1.40 +using _STLP_VENDOR_CSTD::errno;
    1.41 +_STLP_END_NAMESPACE
    1.42 +# endif /* _STLP_IMPORT_VENDOR_CSTD */
    1.43 +
    1.44 +#endif
    1.45 +
    1.46 +# if (_STLP_OUTERMOST_HEADER_ID == 0x105 )
    1.47 +#  include <stl/_epilog.h>
    1.48 +#  undef _STLP_OUTERMOST_HEADER_ID
    1.49 +# endif
    1.50 +
    1.51 +#endif /* _STLP_CERRNO */
    1.52 +
    1.53 +// Local Variables:
    1.54 +// mode:C++
    1.55 +// End: