home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / config / stl_dec.h < prev    next >
C/C++ Source or Header  |  2001-11-14  |  3KB  |  112 lines

  1. # define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
  2.  
  3.  
  4. # define _STLP_NATIVE_HEADER(header) <../cxx/##header>
  5. # define _STLP_NATIVE_C_HEADER(x) <../include/##x>
  6.  
  7. #if (__DECCXX_VER < 60300000)
  8. # define _STLP_NATIVE_CPP_C_HEADER(header) <../cxx/##header>
  9. #else
  10. # define _STLP_NATIVE_CPP_C_HEADER(header) </usr/include/cxx_cname/##header>
  11. #endif
  12.  
  13. # define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../cxx/##header>
  14. # define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../cxx/##header>
  15.  
  16. // Alpha is little-endian
  17. # define _STLP_LITTLE_ENDIAN
  18.  
  19. // collisions 
  20. # define _STLP_DONT_PUT_STLPORT_IN_STD
  21.  
  22. #if (__DECCXX_VER < 60000000)
  23.  
  24. // automatic template instantiation does not
  25. // work with namespaces ;(
  26. # define _STLP_HAS_NO_NAMESPACES 1
  27.  
  28. # define _STLP_NO_NEW_NEW_HEADER 1 
  29.  
  30. # define _STLP_NO_WCHAR_T  1
  31. # define _STLP_NEED_EXPLICIT  1
  32.  
  33. # define _STLP_NO_BOOL  1
  34. # define _STLP_NEED_TYPENAME 1
  35. # define _STLP_NO_NEW_STYLE_CASTS 1
  36. # define _STLP_NEED_MUTABLE 1
  37. # define _STLP_NO_BAD_ALLOC 1
  38.  
  39.  
  40. # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
  41.  
  42. # define _STLP_NO_MEMBER_TEMPLATES 1
  43. # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
  44. # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
  45. # define _STLP_NO_FRIEND_TEMPLATES 1
  46. # define _STLP_NO_QUALIFIED_FRIENDS 1
  47. # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
  48. # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
  49. # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
  50. # define _STLP_BROKEN_USING_DIRECTIVE 1
  51. # define _STLP_NO_EXCEPTION_HEADER 1
  52. # define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
  53.  
  54. #endif
  55.  
  56.  
  57. #ifdef __NO_USE_STD_IOSTREAM
  58. #  define _STLP_HAS_NO_NEW_IOSTREAMS 1
  59. # else
  60. // default is to use new iostreams, anyway
  61. # ifndef __USE_STD_IOSTREAM
  62. #  define __USE_STD_IOSTREAM
  63. # endif
  64. #endif
  65.  
  66. // # if !defined (_STLP_NEW_IOSTREAMS) && ! defined (_STLP_DONT_REDEFINE_STD) \
  67. //  && ! defined (_STLP_REDEFINE_STD)
  68. // # undef __PRAGMA_ENVIRONMENT
  69. //   #  define _STLP_DONT_REDEFINE_STD
  70. // # endif
  71.  
  72. //# ifndef __STD_STRICT_ANSI_ERRORS
  73. //# endif
  74.  
  75. #ifndef __EXCEPTIONS
  76. # define _STLP_HAS_NO_EXCEPTIONS 1
  77. #endif
  78.  
  79. # ifdef __IMPLICIT_INCLUDE_ENABLED
  80.  
  81. // but, works with ours ;).
  82. #  define _STLP_LINK_TIME_INSTANTIATION 1
  83. # else
  84. #  undef _STLP_LINK_TIME_INSTANTIATION
  85. # endif
  86.  
  87. # if defined (__IMPLICIT_USING_STD) && !defined (__NO_USE_STD_IOSTREAM)
  88. // we should ban that !
  89. // #  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"
  90. # endif
  91.  
  92. # if (defined (__STD_STRICT_ANSI) || defined (__STD_STRICT_ANSI_ERRORS))
  93. #  define _STLP_STRICT_ANSI 1
  94. # else
  95. // we want to enforce it
  96. #  define _STLP_LONG_LONG long long
  97. # endif
  98.  
  99. // unsigned 32-bit integer type
  100. #  define _STLP_UINT32_T unsigned int
  101. #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
  102. # define _STLP_RAND48 1
  103. #endif
  104. // #  define _STLP_RAND48 1
  105.  
  106. #  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
  107.  
  108. # if (__DECCXX_VER <= 60300000)
  109. #  define _STLP_HAS_NO_NEW_C_HEADERS 1 
  110. # endif
  111.  
  112.