cfloat 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /******************************************************************************/
  2. /* This file was taken from STLport <www.stlport.org> and modified by */
  3. /* Texas Instruments. */
  4. /******************************************************************************/
  5. /*
  6. * Copyright (c) 1999
  7. * Boris Fomitchev
  8. *
  9. * Copyright (c) 2014-2014 Texas Instruments Incorporated
  10. *
  11. * This material is provided "as is", with absolutely no warranty expressed
  12. * or implied. Any use is at your own risk.
  13. *
  14. * Permission to use or copy this software for any purpose is hereby granted
  15. * without fee, provided the above notices are retained on all copies.
  16. * Permission to modify the code and to distribute modified code is granted,
  17. * provided the above notices are retained, and a notice that the code was
  18. * modified is included with the above copyright notice.
  19. *
  20. */
  21. #ifndef _STLP_CFLOAT
  22. #define _STLP_CFLOAT
  23. #ifndef _STLP_OUTERMOST_HEADER_ID
  24. # define _STLP_OUTERMOST_HEADER_ID 0x106
  25. # include <s__prolog.h>
  26. #endif
  27. // Borland defines some implementation constants in std:: namespace,
  28. // we do not want to import them.
  29. #if defined (_STLP_USE_NEW_C_HEADERS) && !defined (__BORLANDC__)
  30. # if defined (_STLP_HAS_INCLUDE_NEXT)
  31. # include_next <cfloat>
  32. # else
  33. # include _STLP_NATIVE_CPP_C_HEADER(cfloat)
  34. # endif
  35. #else
  36. # include <float.h>
  37. #endif
  38. #if (_STLP_OUTERMOST_HEADER_ID == 0x106 )
  39. # include <s__epilog.h>
  40. # undef _STLP_OUTERMOST_HEADER_ID
  41. #endif
  42. #endif /* _STLP_CFLOAT */
  43. // Local Variables:
  44. // mode:C++
  45. // End: