epoc32/include/stdapis/stlport/exception.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 exception.h
     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_OLDSTD_exception
       
    17 # define _STLP_OLDSTD_exception
       
    18 
       
    19 # if !defined (_STLP_OUTERMOST_HEADER_ID)
       
    20 #  define _STLP_OUTERMOST_HEADER_ID 0x824
       
    21 #  include <stl/_prolog.h>
       
    22 # elif (_STLP_OUTERMOST_HEADER_ID == 0x824) && ! defined (_STLP_DONT_POP_0x824)
       
    23 #  define _STLP_DONT_POP_0x824
       
    24 # endif
       
    25 
       
    26 # if defined (__BORLANDC__)
       
    27 #  include <exception.>
       
    28 # elif defined (_MSC_VER)
       
    29 #  include <exception>
       
    30 # else
       
    31 #  include _STLP_NATIVE_CPP_RUNTIME_HEADER(exception.h)
       
    32 # endif
       
    33 
       
    34 # if (_STLP_OUTERMOST_HEADER_ID == 0x824)
       
    35 #  if ! defined (_STLP_DONT_POP_0x824)
       
    36 #   include <stl/_epilog.h>
       
    37 #   undef  _STLP_OUTERMOST_HEADER_ID
       
    38 #   endif
       
    39 #   undef  _STLP_DONT_POP_0x824
       
    40 # endif
       
    41 
       
    42 #endif /* _STLP_OLDSTD_exception */
       
    43 
       
    44 // Local Variables:
       
    45 // mode:C++
       
    46 // End: