| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- //
- // Config.Irix.pp
- //
- // This file defines some custom config variables for the SGI/Irix
- // platform. It makes some initial guesses about compiler features,
- // etc.
- //
- // What additional flags should we pass to interrogate?
- #define -D__mips__ -D__MIPSEB__
- // Is the platform big-endian (like an SGI workstation) or
- // little-endian (like a PC)? Define this to the empty string to
- // indicate little-endian, or nonempty to indicate big-endian.
- #define WORDS_BIGENDIAN 1
- // Does the C++ compiler support namespaces?
- #define HAVE_NAMESPACE 1
- // Does the C++ compiler support ios::binary?
- #define HAVE_IOS_BINARY
- // Will the compiler avoid inserting extra bytes in structs between a
- // base struct and its derived structs? It is safe to define this
- // false if you don't know, but if you know that you can get away with
- // this you may gain a tiny performance gain by defining this true.
- // If you define this true incorrectly, you will get lots of
- // assertion failures on execution.
- #define SIMPLE_STRUCT_POINTERS
- // Do we have a gettimeofday() function?
- #define HAVE_GETTIMEOFDAY 1
- // Does gettimeofday() take only one parameter?
- #define GETTIMEOFDAY_ONE_PARAM
- // Do we have getopt() and/or getopt_long_only() built into the
- // system?
- #define HAVE_GETOPT 1
- #define HAVE_GETOPT_LONG_ONLY
- // Can we determine the terminal width by making an ioctl(TIOCGWINSZ) call?
- #define IOCTL_TERMINAL_WIDTH 1
- // Do the compiler or the system headers define a "streamsize" typedef?
- #define HAVE_STREAMSIZE
- // Can we safely call getenv() at static init time?
- #define STATIC_INIT_GETENV 1
- // Can we read the file /proc/self/environ to determine our
- // environment variables at static init time?
- #define HAVE_PROC_SELF_ENVIRON
- // Do we have a global pair of argc/argv variables that we can read at
- // static init time? Should we prototype them? What are they called?
- #define HAVE_GLOBAL_ARGV 1
- #define PROTOTYPE_GLOBAL_ARGV 1
- #define GLOBAL_ARGV __Argv
- #define GLOBAL_ARGC __Argc
- // Can we read the file /proc/self/cmdline to determine our
- // command-line arguments at static init time?
- #define HAVE_PROC_SELF_CMDLINE
- // Should we include <iostream> or <iostream.h>? Define HAVE_IOSTREAM
- // to nonempty if we should use <iostream>, or empty if we should use
- // <iostream.h>.
- #define HAVE_IOSTREAM
- // Do we have a true stringstream class defined in <sstream>?
- #define HAVE_SSTREAM
- // Do we have <new>?
- #define HAVE_NEW
- // Do we have <io.h>?
- #define HAVE_IO_H
- // Do we have <malloc.h>?
- #define HAVE_MALLOC_H 1
- // Do we have <alloca.h>?
- #define HAVE_ALLOCA_H 1
- // Do we have <minmax.h>?
- #define HAVE_MINMAX_H
- // Do we have <sys/types.h>?
- #define HAVE_SYS_TYPES_H 1
- // Do we have <unistd.h>?
- #define HAVE_UNISTD_H 1
- // Do we have <utime.h>?
- #define HAVE_UTIME_H 1
- // Do we have <dirent.h>?
- #define HAVE_DIRENT_H 1
- // Do we have <sys/soundcard.h> (and presumably a Linux-style audio
- // interface)?
- #define HAVE_SYS_SOUNDCARD_H
- // Do we have RTTI (and <typeinfo>)?
- #define HAVE_RTTI 1
- // Must global operator new and delete functions throw exceptions?
- #define GLOBAL_OPERATOR_NEW_EXCEPTIONS
- // What is the syntax of the STL allocator declaration? See
- // LocalSetup.pp for allowable values.
- #define STL_ALLOCATOR OLD
|