os/ossrv/genericopenlibs/cppstdlib/stl/stlport/setjmp.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
/*
sl@0
     2
 * Copyright (c) 1999
sl@0
     3
 * Boris Fomitchev
sl@0
     4
 *
sl@0
     5
 * This material is provided "as is", with absolutely no warranty expressed
sl@0
     6
 * or implied. Any use is at your own risk.
sl@0
     7
 *
sl@0
     8
 * Permission to use or copy this software for any purpose is hereby granted
sl@0
     9
 * without fee, provided the above notices are retained on all copies.
sl@0
    10
 * Permission to modify the code and to distribute modified code is granted,
sl@0
    11
 * provided the above notices are retained, and a notice that the code was
sl@0
    12
 * modified is included with the above copyright notice.
sl@0
    13
 *
sl@0
    14
 */
sl@0
    15
sl@0
    16
#ifndef _STLP_SETJMP_H
sl@0
    17
sl@0
    18
#if !defined (_STLP_OUTERMOST_HEADER_ID)
sl@0
    19
#  define _STLP_OUTERMOST_HEADER_ID 0x256
sl@0
    20
#  include <stl/_prolog.h>
sl@0
    21
#elif (_STLP_OUTERMOST_HEADER_ID == 0x256) && !defined (_STLP_DONT_POP_HEADER_ID)
sl@0
    22
#  define _STLP_DONT_POP_HEADER_ID
sl@0
    23
#  define _STLP_SETJMP_H
sl@0
    24
#endif
sl@0
    25
sl@0
    26
#if defined(_STLP_WCE_EVC3)
sl@0
    27
struct _exception;
sl@0
    28
#endif
sl@0
    29
sl@0
    30
#if !defined (setjmp)
sl@0
    31
#  define _STLP_NATIVE_SETJMP_H_INCLUDED
sl@0
    32
#  include _STLP_NATIVE_C_HEADER(setjmp.h)
sl@0
    33
#endif
sl@0
    34
sl@0
    35
#if !defined (_STLP_NATIVE_SETJMP_H_INCLUDED)
sl@0
    36
/* See errno.h file for a description of this problem. */
sl@0
    37
#  error setjmp has been defined before inclusion of setjmp.h header.
sl@0
    38
#endif
sl@0
    39
sl@0
    40
#if (_STLP_OUTERMOST_HEADER_ID == 0x256)
sl@0
    41
#  if ! defined (_STLP_DONT_POP_HEADER_ID)
sl@0
    42
#    include <stl/_epilog.h>
sl@0
    43
#    undef  _STLP_OUTERMOST_HEADER_ID
sl@0
    44
#  else
sl@0
    45
#    undef  _STLP_DONT_POP_HEADER_ID
sl@0
    46
#  endif
sl@0
    47
#endif
sl@0
    48
#endif /* _STLP_SETJMP_H */