_cray.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Copyright (c) 1997
  3. * Moscow Center for SPARC Technology
  4. *
  5. * Copyright (c) 1999
  6. * Boris Fomitchev
  7. *
  8. * This material is provided "as is", with absolutely no warranty expressed
  9. * or implied. Any use is at your own risk.
  10. *
  11. * Permission to use or copy this software for any purpose is hereby granted
  12. * without fee, provided the above notices are retained on all copies.
  13. * Permission to modify the code and to distribute modified code is granted,
  14. * provided the above notices are retained, and a notice that the code was
  15. * modified is included with the above copyright notice.
  16. *
  17. */
  18. #define _STLP_COMPILER "CC"
  19. // Mostly correct guess, change it for Alpha (and other environments
  20. // that has 64-bit "long")
  21. # define _STLP_UINT32_T unsigned long
  22. // Uncomment if long long is available
  23. # define _STLP_LONG_LONG long long
  24. // Uncomment this if your compiler can't inline while(), for()
  25. # define _STLP_LOOP_INLINE_PROBLEMS 1
  26. // Uncomment this if your compiler does not support exceptions
  27. // Cray C++ supports exceptions when '-h exceptions' option is user;
  28. // therefore '-D_STLP_HAS_NO_EXCEPTIONS' must be used when '-h exceptions'
  29. // is NOT used.
  30. //# define _STLP_HAS_NO_EXCEPTIONS 1
  31. // Delete?
  32. // Define this if compiler lacks <exception> header
  33. //# define _STLP_NO_EXCEPTION_HEADER 1
  34. // Uncomment this if your C library has lrand48() function
  35. # define _STLP_RAND48 1
  36. // Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
  37. # define _STLP_HAS_NO_NEW_C_HEADERS 1
  38. // uncomment if new-style headers <new> is available
  39. # define _STLP_NO_NEW_NEW_HEADER 1
  40. // uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
  41. // not std::
  42. # define _STLP_VENDOR_GLOBAL_STD
  43. // uncomment this if <cstdio> and the like put stuff in ::namespace,
  44. // not std::
  45. # define _STLP_VENDOR_GLOBAL_CSTD
  46. # define _STLP_NATIVE_C_HEADER(__x) </usr/include/##__x>
  47. // WARNING: Following is hardcoded to the system default C++ include files
  48. # define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </opt/ctl/CC/CC/include/##__x>
  49. # define _STLP_NO_NATIVE_MBSTATE_T
  50. # define _STLP_NO_USING_FOR_GLOBAL_FUNCTIONS
  51. //# define _STLP_VENDOR_GLOBAL_EXCEPT_STD