Home | History | Annotate | Download | only in stlport
      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 #ifndef _STLP_CMATH
     17 
     18 #ifndef _STLP_OUTERMOST_HEADER_ID
     19 #  define _STLP_OUTERMOST_HEADER_ID  0x110
     20 #  include <stl/_prolog.h>
     21 #elif (_STLP_OUTERMOST_HEADER_ID == 0x110) && !defined (_STLP_DONT_POP_HEADER_ID)
     22 #  define _STLP_DONT_POP_HEADER_ID
     23 #  define _STLP_CMATH
     24 #endif
     25 
     26 #if (_STLP_OUTERMOST_HEADER_ID == 0x110) && !defined (_STLP_DONT_POP_HEADER_ID)
     27 #  ifndef _STLP_INTERNAL_CMATH
     28 #    include <stl/_cmath.h>
     29 #  endif
     30 #endif
     31 
     32 #if (_STLP_OUTERMOST_HEADER_ID != 0x110) || defined (_STLP_DONT_POP_HEADER_ID) || defined (_STLP_IMPORT_VENDOR_STD)
     33 #  if defined (_STLP_HAS_INCLUDE_NEXT)
     34 #    include_next <cmath>
     35 #  else
     36 #    include _STLP_NATIVE_CPP_C_HEADER(cmath)
     37 #  endif
     38 #endif
     39 
     40 #if (_STLP_OUTERMOST_HEADER_ID ==  0x110)
     41 #  if !defined (_STLP_DONT_POP_HEADER_ID)
     42 #    include <stl/_epilog.h>
     43 #    undef _STLP_OUTERMOST_HEADER_ID
     44 #  else
     45 #    undef _STLP_DONT_POP_HEADER_ID
     46 #  endif
     47 #endif
     48 
     49 #endif /* _STLP_CMATH */
     50 
     51 // Local Variables:
     52 // mode:C++
     53 // End:
     54