epoc32/include/tools/stlport/setjmp.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tools/stlport/setjmp.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +/*
     1.5 + * Copyright (c) 1999
     1.6 + * Boris Fomitchev
     1.7 + *
     1.8 + * This material is provided "as is", with absolutely no warranty expressed
     1.9 + * or implied. Any use is at your own risk.
    1.10 + *
    1.11 + * Permission to use or copy this software for any purpose is hereby granted
    1.12 + * without fee, provided the above notices are retained on all copies.
    1.13 + * Permission to modify the code and to distribute modified code is granted,
    1.14 + * provided the above notices are retained, and a notice that the code was
    1.15 + * modified is included with the above copyright notice.
    1.16 + *
    1.17 + */
    1.18 +
    1.19 +#ifndef _STLP_SETJMP_H
    1.20 +
    1.21 +#if !defined (_STLP_OUTERMOST_HEADER_ID)
    1.22 +#  define _STLP_OUTERMOST_HEADER_ID 0x256
    1.23 +#  include <stl/_prolog.h>
    1.24 +#elif (_STLP_OUTERMOST_HEADER_ID == 0x256) && !defined (_STLP_DONT_POP_HEADER_ID)
    1.25 +#  define _STLP_DONT_POP_HEADER_ID
    1.26 +#  define _STLP_SETJMP_H
    1.27 +#endif
    1.28 +
    1.29 +#if defined(_STLP_WCE_EVC3)
    1.30 +struct _exception;
    1.31 +#endif
    1.32 +
    1.33 +#if !defined (setjmp)
    1.34 +#  define _STLP_NATIVE_SETJMP_H_INCLUDED
    1.35 +#  include _STLP_NATIVE_C_HEADER(setjmp.h)
    1.36 +#endif
    1.37 +
    1.38 +#if !defined (_STLP_NATIVE_SETJMP_H_INCLUDED)
    1.39 +/* See errno.h file for a description of this problem. */
    1.40 +#  error setjmp has been defined before inclusion of setjmp.h header.
    1.41 +#endif
    1.42 +
    1.43 +#if (_STLP_OUTERMOST_HEADER_ID == 0x256)
    1.44 +#  if ! defined (_STLP_DONT_POP_HEADER_ID)
    1.45 +#    include <stl/_epilog.h>
    1.46 +#    undef  _STLP_OUTERMOST_HEADER_ID
    1.47 +#  else
    1.48 +#    undef  _STLP_DONT_POP_HEADER_ID
    1.49 +#  endif
    1.50 +#endif
    1.51 +#endif /* _STLP_SETJMP_H */