/project/jni/stlport/stlport/stl/config/_ibm.h

https://github.com/aichunyu/FFPlayer · C Header · 146 lines · 87 code · 30 blank · 29 comment · 15 complexity · d51910e28bf839d7536c21ca5dc22834 MD5 · raw file

  1. /* STLport configuration file
  2. * It is internal STLport header - DO NOT include it directly
  3. */
  4. #if defined (__IBMCPP__) || defined (__IBMC__)
  5. # define _STLP_COMPILER "Visual Age C++"
  6. #elif defined (__xlC__)
  7. # define _STLP_COMPILER "xlc"
  8. #else
  9. # error "Unknown compiler"
  10. #endif
  11. #if !defined(__IBMCPP__) || (__IBMCPP__ < 500)
  12. # define _STLP_HAS_NO_NEW_C_HEADERS 1
  13. #endif
  14. /* string literal problem, same as with SUN and aCC */
  15. # define _STLP_INLINE_STRING_LITERAL_BUG 1
  16. # define _STLP_HAS_NATIVE_FLOAT_ABS
  17. # define _STLP_DEF_CONST_PLCT_NEW_BUG 1
  18. # define _STLP_DEF_CONST_DEF_PARAM_BUG 1
  19. # ifdef __IBMCPP__
  20. # define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
  21. # endif
  22. /* # if ( defined (__MULTI__) && defined (__WINDOWS__))
  23. * # define _STLP_WIN32THREADS 1 Only Visual Age 3.5 for Windows
  24. * # endif
  25. */
  26. # if ( defined (__MULTI__) && defined (__OS2__))
  27. # define _STLP_OS2THREADS 1
  28. # endif
  29. /* __TEMPINC__ is set when /Ft+ option is used */
  30. # ifdef __TEMPINC__
  31. # define _STLP_LINK_TIME_INSTANTIATION 1
  32. # endif
  33. # if defined (__MVS__)
  34. /* long long support is buggy - reported by Tinny Ng
  35. * # if __EXTENDED__ && __COMPILER_VER__ >= 0x22060000
  36. * # define _STLP_LONG_LONG long long
  37. * # endif
  38. */
  39. /* boris : hstash reported it can be treated like UNIX */
  40. # define _STLP_UNIX 1
  41. # define _STLP_NO_TYPEINFO 1
  42. # undef _STLP_NATIVE_INCLUDE_PATH
  43. # define _STLP_NATIVE_INCLUDE_PATH /usr/lpp/ioclib/include
  44. /* same for C headers like <string.h> */
  45. # undef _STLP_NATIVE_C_INCLUDE_PATH
  46. # define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
  47. # define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH /usr/include
  48. # elif (defined (__WINDOWS__) || defined (_AIX) || defined (__OS2__) ) && (__IBMCPP__ >= 350)
  49. # define _STLP_LONG_LONG long long
  50. #endif
  51. #if !( defined( __xlC__ ) && __xlC__ >= 0x500 )
  52. /* AIX xlC 3.1 , 3.0.1 ==0x301
  53. * Visual Age C++ 3.x
  54. * OS-390 C++
  55. * fbp : should be more version-specific!
  56. */
  57. # define _STLP_NO_BOOL 1
  58. # define _STLP_DONT_USE_BOOL_TYPEDEF 1
  59. # define _STLP_LIMITED_DEFAULT_TEMPLATES 1
  60. # define _STLP_HAS_NO_NAMESPACES 1
  61. # define _STLP_NEED_TYPENAME 1
  62. # define _STLP_NEED_EXPLICIT 1
  63. # define _STLP_NO_ARROW_OPERATOR 1
  64. # define _STLP_NO_NEW_STYLE_CASTS 1
  65. # define _STLP_NO_WCHAR_T 1
  66. # define _STLP_NEED_MUTABLE 1
  67. # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
  68. # define _STLP_NO_BAD_ALLOC 1
  69. # define _STLP_NO_MEMBER_TEMPLATES 1
  70. # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
  71. # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
  72. # define _STLP_NO_FRIEND_TEMPLATES 1
  73. # define _STLP_NO_QUALIFIED_FRIENDS 1
  74. # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
  75. # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
  76. # define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
  77. # define _STLP_NO_METHOD_SPECIALIZATION 1
  78. # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
  79. # define _STLP_NO_EXCEPTION_HEADER 1
  80. # define _STLP_NO_NEW_NEW_HEADER 1
  81. # if defined (__OS2__) && (__IBMCPP__ <= 350)
  82. # define _STLP_NO_TYPEINFO 1
  83. # endif
  84. # define _STLP_NO_NEW_NEW_HEADER 1
  85. # define _STLP_STATIC_CONST_INIT_BUG 1
  86. /* # define _STLP_THROW_RETURN_BUG 1 */
  87. # define _STLP_NO_TEMPLATE_CONVERSIONS 1
  88. # define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
  89. /* AIX xlC, Visual Age 3.0 for OS/2 and MS */
  90. # define _STLP_TRIVIAL_DESTRUCTOR_BUG
  91. # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
  92. # define _STLP_NONTEMPL_BASE_MATCH_BUG 1
  93. #if __IBMCPP__ <= 350
  94. # define _STLP_NEED_UNREACHABLE_RETURN 1
  95. #endif
  96. #if __IBMCPP__ < 350
  97. # define _STLP_NO_LONG_DOUBLE 1
  98. #endif
  99. #if __IBMCPP__ >= 365
  100. /* does not have new C headers, but has div() */
  101. # define _STLP_LDIV
  102. #endif
  103. #endif /* xlC 5 */
  104. /* detect xlC5 by: */
  105. #if defined(__IBMCPP__) && (500 <= __IBMCPP__) && (__IBMCPP__ < 700)
  106. # define _STLP_USE_EXCEPTIONS 1
  107. # define _STLP_STATIC_CONST_INIT_BUG 1
  108. /* #pragma report(disable,CPPC1500029)
  109. * unsigned 32-bit integer type
  110. */
  111. # define _STLP_UINT32_T unsigned int
  112. # if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
  113. # define _STLP_RAND48 1
  114. # endif
  115. /* # define _STLP_RAND48 1 */
  116. #endif /* __IBMCPP__ == 500 */