epoc32/include/stdapis/stlport/cerrno
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 # if defined (_STLP_USE_NEW_C_HEADERS)
    25 #  include _STLP_NATIVE_CPP_C_HEADER(cerrno)
    26 # else
    27 #  include <errno.h>
    28 # endif
    29 
    30 #ifndef errno
    31 
    32 # if defined (_STLP_IMPORT_VENDOR_CSTD) && ! defined (__IBMCPP__) && ! defined(__hpux)
    33 _STLP_BEGIN_NAMESPACE
    34 using _STLP_VENDOR_CSTD::errno;
    35 _STLP_END_NAMESPACE
    36 # endif /* _STLP_IMPORT_VENDOR_CSTD */
    37 
    38 #endif
    39 
    40 # if (_STLP_OUTERMOST_HEADER_ID == 0x105 )
    41 #  include <stl/_epilog.h>
    42 #  undef _STLP_OUTERMOST_HEADER_ID
    43 # endif
    44 
    45 #endif /* _STLP_CERRNO */
    46 
    47 // Local Variables:
    48 // mode:C++
    49 // End: