genericopenlibs/cppstdlib/stl/stlport/setjmp.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     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_SETJMP_H
       
    17 
       
    18 #if !defined (_STLP_OUTERMOST_HEADER_ID)
       
    19 #  define _STLP_OUTERMOST_HEADER_ID 0x256
       
    20 #  include <stl/_prolog.h>
       
    21 #elif (_STLP_OUTERMOST_HEADER_ID == 0x256) && !defined (_STLP_DONT_POP_HEADER_ID)
       
    22 #  define _STLP_DONT_POP_HEADER_ID
       
    23 #  define _STLP_SETJMP_H
       
    24 #endif
       
    25 
       
    26 #if defined(_STLP_WCE_EVC3)
       
    27 struct _exception;
       
    28 #endif
       
    29 
       
    30 #if !defined (setjmp)
       
    31 #  define _STLP_NATIVE_SETJMP_H_INCLUDED
       
    32 #  include _STLP_NATIVE_C_HEADER(setjmp.h)
       
    33 #endif
       
    34 
       
    35 #if !defined (_STLP_NATIVE_SETJMP_H_INCLUDED)
       
    36 /* See errno.h file for a description of this problem. */
       
    37 #  error setjmp has been defined before inclusion of setjmp.h header.
       
    38 #endif
       
    39 
       
    40 #if (_STLP_OUTERMOST_HEADER_ID == 0x256)
       
    41 #  if ! defined (_STLP_DONT_POP_HEADER_ID)
       
    42 #    include <stl/_epilog.h>
       
    43 #    undef  _STLP_OUTERMOST_HEADER_ID
       
    44 #  else
       
    45 #    undef  _STLP_DONT_POP_HEADER_ID
       
    46 #  endif
       
    47 #endif
       
    48 #endif /* _STLP_SETJMP_H */