cfloat 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. #ifndef _STLP_CFLOAT
  16. #define _STLP_CFLOAT
  17. #ifndef _STLP_OUTERMOST_HEADER_ID
  18. # define _STLP_OUTERMOST_HEADER_ID 0x106
  19. # include <stl/_prolog.h>
  20. #endif
  21. // Borland defines some implementation constants in std:: namespace,
  22. // we do not want to import them.
  23. #if defined (_STLP_USE_NEW_C_HEADERS) && !defined (__BORLANDC__)
  24. # if defined (_STLP_HAS_INCLUDE_NEXT)
  25. # include_next <cfloat>
  26. # else
  27. # include _STLP_NATIVE_CPP_C_HEADER(cfloat)
  28. # endif
  29. #else
  30. # include <float.h>
  31. #endif
  32. #if (_STLP_OUTERMOST_HEADER_ID == 0x106 )
  33. # include <stl/_epilog.h>
  34. # undef _STLP_OUTERMOST_HEADER_ID
  35. #endif
  36. #endif /* _STLP_CFLOAT */
  37. // Local Variables:
  38. // mode:C++
  39. // End: