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_kai.h < prev    next >
C/C++ Source or Header  |  2001-09-29  |  2KB  |  59 lines

  1. // STLport config file for KAI C++ compiler
  2.  
  3. #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
  4. # define _STLP_RAND48 1
  5. #endif
  6.  
  7. #  ifndef __KAI_STRICT /* _NO_LONGLONG */
  8. #   define _STLP_LONG_LONG long long
  9. #  endif
  10.  
  11. #  if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
  12. #    define _STLP_HAS_NO_EXCEPTIONS
  13. #  endif
  14.  
  15. # ifndef __BUILDING_STLPORT
  16. #  define _STLP_LINK_TIME_INSTANTIATION 1
  17. # endif
  18.  
  19. // two levels of macros do not work good with kcc.
  20. #   define _STLP_NATIVE_HEADER(header)    <../include/##header> 
  21. #   define _STLP_NATIVE_C_HEADER(header)    <../include/##header> 
  22. #   define _STLP_NATIVE_CPP_C_HEADER(header)    <../include/##header> 
  23. #   define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
  24.  
  25. # ifdef _WIN32
  26. #  define _STLP_MINIMUM_IMPORT_STD
  27. # endif
  28.  
  29. // KAI C++ uses EDG front-end, but apparently different switches
  30. // #  define __EDG_SWITCHES 1
  31.  
  32.  
  33. #  define _STLP_VENDOR_GLOBAL_CSTD 1
  34. #  define _STLP_VENDOR_MB_NAMESPACE std
  35.  
  36. // boris : some of those may also apply to KCC 3.4
  37. # if __KCC_VERSION < 4000
  38. #  define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
  39.  
  40. # endif
  41.  
  42. // this is multiplatform compiler, so here should go system-dependant section
  43. // This really should be in platform-specific files, like stl_solaris.h
  44. # ifdef __linux__
  45. #  define _STLP_NO_NATIVE_WIDE_STREAMS 1
  46. #  define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
  47. # elif defined (__sun) || defined (sun)
  48. // # define _STLP_VENDOR_MB_NAMESPACE
  49. #  include <config/stl_solaris.h>
  50. # elif defined (__hpux)
  51. #  define _STLP_NO_NATIVE_WIDE_FUNCTIONS
  52. # elif defined (__sgi)
  53. // this requires some discrimination on whether we are actually on 
  54. // a system officially supported by KAI. 
  55. #  define _STLP_HAS_NO_NEW_C_HEADERS 1
  56. #  include <standards.h>
  57. # endif
  58.  
  59.