_dec_vms.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // OpenVMS version
  2. #define _STLP_COMPILER "Dec Vms"
  3. # define _STLP_NATIVE_HEADER(header) <sys$library:##header>
  4. # define _STLP_NATIVE_C_HEADER(x) <sys$library:##x>
  5. # define _STLP_NATIVE_CPP_C_HEADER(header) <sys$library:##header>
  6. # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <sys$library:##header>
  7. #if (__DECCXX_VER < 60000000)
  8. // automatic template instantiation does not
  9. // work with namespaces ;(
  10. # define _STLP_HAS_NO_NAMESPACES 1
  11. # define _STLP_NO_WCHAR_T 1
  12. # define _STLP_NEED_EXPLICIT 1
  13. # define _STLP_NO_BOOL 1
  14. # define _STLP_NEED_TYPENAME 1
  15. # define _STLP_NO_NEW_STYLE_CASTS 1
  16. # define _STLP_NEED_MUTABLE 1
  17. # define _STLP_NO_BAD_ALLOC 1
  18. # define _STLP_NO_NEW_NEW_HEADER 1
  19. # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
  20. # define _STLP_NO_MEMBER_TEMPLATES 1
  21. # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
  22. # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
  23. # define _STLP_NO_QUALIFIED_FRIENDS 1
  24. # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
  25. # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
  26. # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
  27. # define _STLP_BROKEN_USING_DIRECTIVE 1
  28. # define _STLP_NO_EXCEPTION_HEADER 1
  29. # define _STLP_DEF_CONST_PLCT_NEW_BUG 1
  30. # define _STLP_DEF_CONST_DEF_PARAM_BUG 1
  31. #endif
  32. #ifdef __NO_USE_STD_IOSTREAM
  33. # define _STLP_USE_NO_IOSTREAMS 1
  34. # else
  35. // default is to use new iostreams, anyway
  36. # ifndef __USE_STD_IOSTREAM
  37. # define __USE_STD_IOSTREAM
  38. # endif
  39. #endif
  40. #ifndef __EXCEPTIONS
  41. # define _STLP_HAS_NO_EXCEPTIONS 1
  42. #endif
  43. # ifdef __IMPLICIT_INCLUDE_ENABLED
  44. #ifdef _STLP_USE_NO_IOSTREAMS
  45. // implicit include introduces conflicts
  46. // between stlport and native lib.
  47. # undef __IMPLICIT_INCLUDE_ENABLED
  48. #endif
  49. // but, works with ours ;).
  50. # define _STLP_LINK_TIME_INSTANTIATION 1
  51. # endif
  52. # if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
  53. // we should ban that !
  54. # 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"
  55. # endif
  56. # if !(defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
  57. // we want to enforce it
  58. # define _STLP_LONG_LONG long long
  59. # endif
  60. // unsigned 32-bit integer type
  61. # define _STLP_UINT32_T unsigned int
  62. #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
  63. # define _STLP_RAND48 1
  64. #endif
  65. // # define _STLP_RAND48 1
  66. # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
  67. #define _STLP_HAS_NO_NEW_C_HEADERS 1