epoc32/include/stdapis/stlport/math.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 math.h
     1 /*
       
     2  * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
       
     3  *
       
     4  * Copyright (c) 1999 
       
     5  * Boris Fomitchev
       
     6  *
       
     7  * This material is provided "as is", with absolutely no warranty expressed
       
     8  * or implied. Any use is at your own risk.
       
     9  *
       
    10  * Permission to use or copy this software for any purpose is hereby granted 
       
    11  * without fee, provided the above notices are retained on all copies.
       
    12  * Permission to modify the code and to distribute modified code is granted,
       
    13  * provided the above notices are retained, and a notice that the code was
       
    14  * modified is included with the above copyright notice.
       
    15  *
       
    16  */
       
    17 
       
    18 # if !defined (_STLP_OUTERMOST_HEADER_ID)
       
    19 #  define _STLP_OUTERMOST_HEADER_ID 0x244
       
    20 #  include <stl/_prolog.h>
       
    21 # elif (_STLP_OUTERMOST_HEADER_ID == 0x244) && ! defined (_STLP_DONT_POP_0x244)
       
    22 #  define _STLP_DONT_POP_0x244
       
    23 # endif
       
    24 
       
    25 #ifndef _STLP_MATH_H
       
    26 #define _STLP_MATH_H
       
    27 
       
    28 # if ! defined (exception) && (! defined (__KCC) || (__KCC_VERSION < 4000)) && \
       
    29    ! (defined(__IBMCPP__) && (500 <= __IBMCPP__))
       
    30 #  define __EXCEPTION_WAS_REDEFINED 1
       
    31 #  define exception __math_exception
       
    32 # endif
       
    33 
       
    34 #ifdef __SYMBIAN32__
       
    35 #  include <math.h>
       
    36 #else
       
    37 #  include _STLP_NATIVE_C_HEADER(math.h)
       
    38 #endif
       
    39 
       
    40 
       
    41 # if defined (__EXCEPTION_WAS_REDEFINED)
       
    42 #  undef exception
       
    43 #  undef __EXCEPTION_WAS_REDEFINED
       
    44 # endif
       
    45 
       
    46 #endif //_STLP_MATH_H
       
    47 
       
    48 # if (_STLP_OUTERMOST_HEADER_ID == 0x244)
       
    49 #  if ! defined (_STLP_DONT_POP_0x244)
       
    50 #   include <stl/_epilog.h>
       
    51 #   undef  _STLP_OUTERMOST_HEADER_ID
       
    52 #   endif
       
    53 #   undef  _STLP_DONT_POP_0x244
       
    54 # endif
       
    55 
       
    56 
       
    57 // Local Variables:
       
    58 // mode:C++
       
    59 // End: