epoc32/include/stdapis/stlport/cstd/math.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 0 061f57f2323e
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 # if defined (__EXCEPTION_WAS_REDEFINED)
    41 #  undef exception
    42 #  undef __EXCEPTION_WAS_REDEFINED
    43 # endif
    44 
    45 #endif //_STLP_MATH_H
    46 
    47 # if (_STLP_OUTERMOST_HEADER_ID == 0x244)
    48 #  if ! defined (_STLP_DONT_POP_0x244)
    49 #   include <stl/_epilog.h>
    50 #   undef  _STLP_OUTERMOST_HEADER_ID
    51 #   endif
    52 #   undef  _STLP_DONT_POP_0x244
    53 # endif
    54 
    55 
    56 // Local Variables:
    57 // mode:C++
    58 // End: