xref: /reactos/sdk/include/c++/stlport/float.h (revision 1734f297)
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 0x203
18 #  include <stl/_cprolog.h>
19 #elif (_STLP_OUTERMOST_HEADER_ID == 0x203) && !defined (_STLP_DONT_POP_HEADER_ID)
20 #  define _STLP_DONT_POP_HEADER_ID
21 #elif (_STLP_OUTERMOST_HEADER_ID == 0x203)
22 #  error This header is only reentrant once, it should be modified if it has to be included more.
23 #endif
24 
25 #if defined (_STLP_WCE_EVC3)
26 struct _exception;
27 #endif
28 
29 #if defined (_STLP_HAS_INCLUDE_NEXT)
30 #  include_next <float.h>
31 #else
32 #  include _STLP_NATIVE_C_HEADER(float.h)
33 #endif
34 
35 #if !defined (__linux__)
36 #  if defined(__BORLANDC__) && defined (__cplusplus) && (__BORLANDC__ >= 0x560)
37 _STLP_BEGIN_NAMESPACE
38 using ::_max_dble;
39 using ::_max_flt;
40 using ::_max_ldble;
41 using ::_tiny_ldble;
42 _STLP_END_NAMESPACE
43 #  endif
44 #endif
45 
46 #if (_STLP_OUTERMOST_HEADER_ID == 0x203)
47 #  if ! defined (_STLP_DONT_POP_HEADER_ID)
48 #    include <stl/_epilog.h>
49 #    undef  _STLP_OUTERMOST_HEADER_ID
50 #  endif
51 #  undef  _STLP_DONT_POP_HEADER_ID
52 #endif
53