_kai.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // STLport config file for KAI C++ compiler
  2. #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
  3. # define _STLP_RAND48 1
  4. #endif
  5. # ifndef __KAI_STRICT /* _NO_LONGLONG */
  6. # define _STLP_LONG_LONG long long
  7. # endif
  8. # if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
  9. # define _STLP_HAS_NO_EXCEPTIONS
  10. # endif
  11. # ifndef __BUILDING_STLPORT
  12. # define _STLP_LINK_TIME_INSTANTIATION 1
  13. # endif
  14. // two levels of macros do not work good with kcc.
  15. # define _STLP_NATIVE_HEADER(header) <../include/##header>
  16. # define _STLP_NATIVE_C_HEADER(header) <../include/##header>
  17. # define _STLP_NATIVE_CPP_C_HEADER(header) <../include/##header>
  18. # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
  19. // KAI C++ uses EDG front-end, but apparently different switches
  20. // # define __EDG_SWITCHES 1
  21. # define _STLP_VENDOR_GLOBAL_CSTD 1
  22. # define _STLP_VENDOR_MB_NAMESPACE std
  23. // boris : some of those may also apply to KCC 3.4
  24. # if __KCC_VERSION < 4000
  25. # define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
  26. # endif
  27. # if defined (__sgi)
  28. // this requires some discrimination on whether we are actually on
  29. // a system officially supported by KAI.
  30. # define _STLP_HAS_NO_NEW_C_HEADERS 1
  31. # include <standards.h>
  32. # endif