_dec.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #define _STLP_COMPILER "Dec"
  2. # define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
  3. # define _STLP_NATIVE_HEADER(header) <../cxx/##header>
  4. # define _STLP_NATIVE_C_HEADER(x) <../include/##x>
  5. #if (__DECCXX_VER < 60300000)
  6. # define _STLP_NATIVE_CPP_C_HEADER(header) <../cxx/##header>
  7. #else
  8. # define _STLP_NATIVE_CPP_C_HEADER(header) </usr/include/cxx_cname/##header>
  9. #endif
  10. # define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../cxx/##header>
  11. # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../cxx/##header>
  12. /* Alpha is little-endian */
  13. # define _STLP_LITTLE_ENDIAN
  14. // collisions
  15. # define _STLP_DONT_PUT_STLPORT_IN_STD
  16. #if (__DECCXX_VER < 60000000)
  17. /*
  18. automatic template instantiation does not
  19. work with namespaces ;(
  20. */
  21. # define _STLP_HAS_NO_NAMESPACES 1
  22. # define _STLP_NO_NEW_NEW_HEADER 1
  23. # define _STLP_NO_WCHAR_T 1
  24. # define _STLP_NEED_EXPLICIT 1
  25. # define _STLP_NO_BOOL 1
  26. # define _STLP_NEED_TYPENAME 1
  27. # define _STLP_NO_NEW_STYLE_CASTS 1
  28. # define _STLP_NEED_MUTABLE 1
  29. # define _STLP_NO_BAD_ALLOC 1
  30. # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
  31. # define _STLP_NO_MEMBER_TEMPLATES 1
  32. # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
  33. # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
  34. # define _STLP_NO_QUALIFIED_FRIENDS 1
  35. # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
  36. # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
  37. # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
  38. # define _STLP_BROKEN_USING_DIRECTIVE 1
  39. # define _STLP_NO_EXCEPTION_HEADER 1
  40. # define _STLP_DEF_CONST_PLCT_NEW_BUG 1
  41. # define _STLP_DEF_CONST_DEF_PARAM_BUG 1
  42. #endif
  43. #ifndef __NO_USE_STD_IOSTREAM
  44. /* default is to use new iostreams, anyway */
  45. # ifndef __USE_STD_IOSTREAM
  46. # define __USE_STD_IOSTREAM
  47. # endif
  48. #endif
  49. /*
  50. # ifndef __STD_STRICT_ANSI_ERRORS
  51. # endif
  52. */
  53. #ifndef __EXCEPTIONS
  54. # define _STLP_HAS_NO_EXCEPTIONS 1
  55. #endif
  56. # ifdef __IMPLICIT_INCLUDE_ENABLED
  57. /* but, works with ours ;). */
  58. # define _STLP_LINK_TIME_INSTANTIATION 1
  59. # else
  60. # undef _STLP_LINK_TIME_INSTANTIATION
  61. # endif
  62. # if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
  63. /*
  64. we should ban that !
  65. # error "STLport won't work with new iostreams and std:: being implicitly included. Please use -std strict_ansi[_errors] or specify __NO_USE_STD_IOSTREAM"
  66. */
  67. # endif
  68. # if (defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
  69. # define _STLP_STRICT_ANSI 1
  70. # else
  71. /* we want to enforce it */
  72. # define _STLP_LONG_LONG long long
  73. # endif
  74. /* unsigned 32-bit integer type */
  75. # define _STLP_UINT32_T unsigned int
  76. #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
  77. # define _STLP_RAND48 1
  78. #endif
  79. /* # define _STLP_RAND48 1 */
  80. # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
  81. # if (__DECCXX_VER <= 60600000)
  82. # define _STLP_HAS_NO_NEW_C_HEADERS 1
  83. # endif
  84. #if !defined (_NOTHREADS) && !defined (_STLP_THREADS_DEFINED)
  85. # define _STLP_DEC_THREADS
  86. #endif