ReactOS  0.4.13-dev-982-g9853eab
math.h
Go to the documentation of this file.
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/_cprolog.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 #if defined (_STLP_HAS_INCLUDE_NEXT)
30 # include_next <math.h>
31 #else
32 # include _STLP_NATIVE_C_HEADER(math.h)
33 #endif
34 
35 #if defined (_STLP_EXCEPTION_WAS_REDEFINED)
36 # undef exception
37 # undef _STLP_EXCEPTION_WAS_REDEFINED
38 #endif
39 
40 #ifdef _STLP_WCE_EVC3
41 # undef _exception
42 # define _exception exception
43 #endif
44 
45 #if (_STLP_OUTERMOST_HEADER_ID == 0x244)
46 # if ! defined (_STLP_DONT_POP_HEADER_ID)
47 # include <stl/_epilog.h>
48 # undef _STLP_OUTERMOST_HEADER_ID
49 # else
50 # undef _STLP_DONT_POP_HEADER_ID
51 # endif
52 #endif
53