epoc32/include/tools/stlport/math.h
branchSymbian3
changeset 4 837f303aceeb
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
       
     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 #if !defined (_STLP_OUTERMOST_HEADER_ID)
       
    17 #  define _STLP_OUTERMOST_HEADER_ID 0x244
       
    18 #  include <stl/_prolog.h>
       
    19 #elif (_STLP_OUTERMOST_HEADER_ID == 0x244) && !defined (_STLP_DONT_POP_HEADER_ID)
       
    20 #  define _STLP_DONT_POP_HEADER_ID
       
    21 #endif
       
    22 
       
    23 #if !defined (exception) && (!defined (__KCC) || (__KCC_VERSION < 4000)) && \
       
    24     !(defined(__IBMCPP__) && (500 <= __IBMCPP__)) && !defined(_STLP_WCE_EVC3)
       
    25 #  define _STLP_EXCEPTION_WAS_REDEFINED 1
       
    26 #  define exception __math_exception
       
    27 #endif
       
    28 
       
    29 #include _STLP_NATIVE_C_HEADER(math.h)
       
    30 
       
    31 #if defined (_STLP_EXCEPTION_WAS_REDEFINED)
       
    32 #  undef exception
       
    33 #  undef _STLP_EXCEPTION_WAS_REDEFINED
       
    34 #endif
       
    35 
       
    36 #ifdef _STLP_WCE_EVC3
       
    37 #  undef _exception
       
    38 #  define _exception exception
       
    39 #endif
       
    40 
       
    41 #if (_STLP_OUTERMOST_HEADER_ID == 0x244)
       
    42 #  if ! defined (_STLP_DONT_POP_HEADER_ID)
       
    43 #    include <stl/_epilog.h>
       
    44 #    undef  _STLP_OUTERMOST_HEADER_ID
       
    45 #  else
       
    46 #    undef  _STLP_DONT_POP_HEADER_ID
       
    47 #  endif
       
    48 #endif
       
    49 
       
    50 /* Local Variables:
       
    51  * mode:C++
       
    52  * End:
       
    53  */