epoc32/include/tools/stlport/cerrno
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2  * Copyright (c) 1999
     3  * Boris Fomitchev
     4  *
     5  * This material is provided "as is", with absolutely no warranty expressed
     6  * or implied. Any use is at your own risk.
     7  *
     8  * Permission to use or copy this software for any purpose is hereby granted
     9  * without fee, provided the above notices are retained on all copies.
    10  * Permission to modify the code and to distribute modified code is granted,
    11  * provided the above notices are retained, and a notice that the code was
    12  * modified is included with the above copyright notice.
    13  *
    14  */
    15 
    16 #ifndef _STLP_CERRNO
    17 # define _STLP_CERRNO
    18 
    19 # ifndef _STLP_OUTERMOST_HEADER_ID
    20 #  define _STLP_OUTERMOST_HEADER_ID 0x105
    21 #  include <stl/_prolog.h>
    22 # endif
    23 
    24 # ifndef _STLP_WCE
    25 # if defined (_STLP_USE_NEW_C_HEADERS)
    26 #  include _STLP_NATIVE_CPP_C_HEADER(cerrno)
    27 # else
    28 #  include <errno.h>
    29 # endif
    30 # endif
    31 
    32 #ifndef errno
    33 
    34 # if defined (_STLP_IMPORT_VENDOR_CSTD) && \
    35   ! defined (__IBMCPP__) && ! defined(__hpux) && ! defined(__MWERKS__) && !defined(_STLP_WCE)
    36 _STLP_BEGIN_NAMESPACE
    37 using _STLP_VENDOR_CSTD::errno;
    38 _STLP_END_NAMESPACE
    39 # endif /* _STLP_IMPORT_VENDOR_CSTD */
    40 
    41 #endif
    42 
    43 # if (_STLP_OUTERMOST_HEADER_ID == 0x105 )
    44 #  include <stl/_epilog.h>
    45 #  undef _STLP_OUTERMOST_HEADER_ID
    46 # endif
    47 
    48 #endif /* _STLP_CERRNO */
    49 
    50 // Local Variables:
    51 // mode:C++
    52 // End: