_sgi.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. // STLport configuration file
  2. // It is internal STLport header - DO NOT include it directly
  3. #define _STLP_COMPILER "CC"
  4. #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
  5. // define native include path before trying to include anything
  6. #define _STLP_NATIVE_HEADER(__x) </usr/include/CC/##__x>
  7. #define _STLP_NATIVE_C_HEADER(__x) </usr/include/##__x>
  8. #define _STLP_NATIVE_OLD_STREAMS_HEADER(__x) </usr/include/CC/##__x>
  9. #define _STLP_NATIVE_CPP_C_HEADER(__x) </usr/include/CC/##__x>
  10. #define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </usr/include/CC/##__x>
  11. #define _STLP_NO_NATIVE_MBSTATE_T
  12. #define _STLP_NO_USING_FOR_GLOBAL_FUNCTIONS
  13. #define _STLP_NO_NATIVE_WIDE_FUNCTIONS
  14. #define _STLP_NO_MEMBER_TEMPLATE_CLASSES
  15. // #define _STLP_NO_BAD_ALLOC
  16. #define _STL_HAS_NAMESPACES
  17. #if ! defined (__EXCEPTIONS) && ! defined (_STLP_NO_EXCEPTIONS)
  18. # define _STLP_NO_EXCEPTIONS
  19. #endif
  20. #define __EDG_SWITCHES
  21. #define _STLP_USE_SGI_STRING 1
  22. #define _STLP_HAS_NO_NEW_C_HEADERS 1
  23. // # define _STLP_VENDOR_GLOBAL_EXCEPT_STD
  24. #define _STLP_NO_POST_COMPATIBLE_SECTION
  25. #include <standards.h>
  26. #if !(_COMPILER_VERSION >= 730)
  27. # define _STLP_NO_NEW_NEW_HEADER 1
  28. #endif
  29. #if (_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS))
  30. # define _STLP_EXTERN_RANGE_ERRORS
  31. #endif
  32. #if !defined(_BOOL)
  33. # define _STLP_NO_BOOL
  34. #endif
  35. #if defined(_MIPS_SIM) && _MIPS_SIM == _ABIO32
  36. # define _STLP_STATIC_CONST_INIT_BUG
  37. #endif
  38. #if (_COMPILER_VERSION < 720) || (defined(_MIPS_SIM) && _MIPS_SIM == _ABIO32)
  39. # define _STLP_DEF_CONST_PLCT_NEW_BUG
  40. # define _STLP_DEF_CONST_DEF_PARAM_BUG
  41. #endif
  42. #if !((_COMPILER_VERSION >= 730) && defined(_MIPS_SIM) && _MIPS_SIM != _ABIO32)
  43. # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD
  44. #endif
  45. #if !defined(_STANDARD_C_PLUS_PLUS)
  46. # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
  47. #endif
  48. #if !((_COMPILER_VERSION >= 721) && defined(_NAMESPACES))
  49. # define _STLP_HAS_NO_NAMESPACES
  50. #endif
  51. #if (_COMPILER_VERSION < 721) || !defined(_STL_HAS_NAMESPACES) || defined(_STLP_NO_NAMESPACES)
  52. # define _STLP_NO_EXCEPTION_HEADER
  53. #endif
  54. #if _COMPILER_VERSION < 730 || !defined(_STANDARD_C_PLUS_PLUS) || !defined(_NAMESPACES)
  55. # define _STLP_NO_BAD_ALLOC
  56. #endif
  57. #if defined(_LONGLONG) && defined(_SGIAPI) && _SGIAPI
  58. # define _STLP_LONG_LONG long long
  59. #endif
  60. #if !(_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS))
  61. # define _STLP_USE_NO_IOSTREAMS
  62. #endif
  63. #if !(_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS))
  64. # define _STLP_NO_AT_MEMBER_FUNCTION
  65. #endif
  66. // # if !(_COMPILER_VERSION >= 730 && defined(_STANDARD_C_PLUS_PLUS))
  67. #if !(_COMPILER_VERSION >= 721 && defined(_STANDARD_C_PLUS_PLUS))
  68. # define _STLP_NO_TEMPLATE_CONVERSIONS
  69. #endif
  70. #if !((_COMPILER_VERSION >= 730) && defined(_MIPS_SIM) && _MIPS_SIM != _ABIO32)
  71. # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
  72. #endif
  73. #if !defined (_NOTHREADS) && !defined (_STLP_THREADS_DEFINED) && !defined (__GNUC__)
  74. # define _STLP_SGI_THREADS
  75. #endif