Config.Irix.pp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. //
  2. // Config.Irix.pp
  3. //
  4. // This file defines some custom config variables for the SGI/Irix
  5. // platform. It makes some initial guesses about compiler features,
  6. // etc.
  7. //
  8. // What additional flags should we pass to interrogate?
  9. #define -D__mips__ -D__MIPSEB__
  10. // Is the platform big-endian (like an SGI workstation) or
  11. // little-endian (like a PC)? Define this to the empty string to
  12. // indicate little-endian, or nonempty to indicate big-endian.
  13. #define WORDS_BIGENDIAN 1
  14. // Does the C++ compiler support namespaces?
  15. #define HAVE_NAMESPACE 1
  16. // Does the C++ compiler support ios::binary?
  17. #define HAVE_IOS_BINARY
  18. // Will the compiler avoid inserting extra bytes in structs between a
  19. // base struct and its derived structs? It is safe to define this
  20. // false if you don't know, but if you know that you can get away with
  21. // this you may gain a tiny performance gain by defining this true.
  22. // If you define this true incorrectly, you will get lots of
  23. // assertion failures on execution.
  24. #define SIMPLE_STRUCT_POINTERS
  25. // Do we have a gettimeofday() function?
  26. #define HAVE_GETTIMEOFDAY 1
  27. // Does gettimeofday() take only one parameter?
  28. #define GETTIMEOFDAY_ONE_PARAM
  29. // Do we have getopt() and/or getopt_long_only() built into the
  30. // system?
  31. #define HAVE_GETOPT 1
  32. #define HAVE_GETOPT_LONG_ONLY
  33. // Can we determine the terminal width by making an ioctl(TIOCGWINSZ) call?
  34. #define IOCTL_TERMINAL_WIDTH 1
  35. // Do the compiler or the system headers define a "streamsize" typedef?
  36. #define HAVE_STREAMSIZE
  37. // Can we safely call getenv() at static init time?
  38. #define STATIC_INIT_GETENV 1
  39. // Can we read the file /proc/self/environ to determine our
  40. // environment variables at static init time?
  41. #define HAVE_PROC_SELF_ENVIRON
  42. // Do we have a global pair of argc/argv variables that we can read at
  43. // static init time? Should we prototype them? What are they called?
  44. #define HAVE_GLOBAL_ARGV 1
  45. #define PROTOTYPE_GLOBAL_ARGV 1
  46. #define GLOBAL_ARGV __Argv
  47. #define GLOBAL_ARGC __Argc
  48. // Can we read the file /proc/self/cmdline to determine our
  49. // command-line arguments at static init time?
  50. #define HAVE_PROC_SELF_CMDLINE
  51. // Should we include <iostream> or <iostream.h>? Define HAVE_IOSTREAM
  52. // to nonempty if we should use <iostream>, or empty if we should use
  53. // <iostream.h>.
  54. #define HAVE_IOSTREAM
  55. // Do we have a true stringstream class defined in <sstream>?
  56. #define HAVE_SSTREAM
  57. // Do we have <new>?
  58. #define HAVE_NEW
  59. // Do we have <io.h>?
  60. #define HAVE_IO_H
  61. // Do we have <malloc.h>?
  62. #define HAVE_MALLOC_H 1
  63. // Do we have <alloca.h>?
  64. #define HAVE_ALLOCA_H 1
  65. // Do we have <minmax.h>?
  66. #define HAVE_MINMAX_H
  67. // Do we have <sys/types.h>?
  68. #define HAVE_SYS_TYPES_H 1
  69. // Do we have <unistd.h>?
  70. #define HAVE_UNISTD_H 1
  71. // Do we have <utime.h>?
  72. #define HAVE_UTIME_H 1
  73. // Do we have <dirent.h>?
  74. #define HAVE_DIRENT_H 1
  75. // Do we have <sys/soundcard.h> (and presumably a Linux-style audio
  76. // interface)?
  77. #define HAVE_SYS_SOUNDCARD_H
  78. // Do we have RTTI (and <typeinfo>)?
  79. #define HAVE_RTTI 1
  80. // Must global operator new and delete functions throw exceptions?
  81. #define GLOBAL_OPERATOR_NEW_EXCEPTIONS
  82. // What is the syntax of the STL allocator declaration? See
  83. // LocalSetup.pp for allowable values.
  84. #define STL_ALLOCATOR OLD