Config.Linux.pp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //
  2. // Config.Linux.pp
  3. //
  4. // This file defines some custom config variables for the Linux
  5. // platform. It makes some initial guesses about compiler features,
  6. // etc.
  7. //
  8. // Is the platform big-endian (like an SGI workstation) or
  9. // little-endian (like a PC)? Define this to the empty string to
  10. // indicate little-endian, or nonempty to indicate big-endian.
  11. #define WORDS_BIGENDIAN
  12. // Does the C++ compiler support namespaces?
  13. #define HAVE_NAMESPACE 1
  14. // Does the C++ compiler support ios::binary?
  15. #define HAVE_IOS_BINARY 1
  16. // Do we have a gettimeofday() function?
  17. #define HAVE_GETTIMEOFDAY 1
  18. // Does gettimeofday() take only one parameter?
  19. #define GETTIMEOFDAY_ONE_PARAM
  20. // Do we have getopt() and/or getopt_long_only() built into the
  21. // system?
  22. #define HAVE_GETOPT 1
  23. #define HAVE_GETOPT_LONG_ONLY 1
  24. // Can we determine the terminal width by making an ioctl(TIOCGWINSZ) call?
  25. #define IOCTL_TERMINAL_WIDTH 1
  26. // Should we include <iostream> or <iostream.h>? Define HAVE_IOSTREAM
  27. // to nonempty if we should use <iostream>, or empty if we should use
  28. // <iostream.h>.
  29. #define HAVE_IOSTREAM
  30. // Do we have a true stringstream class defined in <sstream>?
  31. #define HAVE_SSTREAM
  32. // Do we have <io.h>?
  33. #define HAVE_IO_H
  34. // Do we have <malloc.h>?
  35. #define HAVE_MALLOC_H 1
  36. // Do we have <alloca.h>?
  37. #define HAVE_ALLOCA_H 1
  38. // Do we have <minmax.h>?
  39. #define HAVE_MINMAX_H
  40. // Do we have <sys/types.h>?
  41. #define HAVE_SYS_TYPES_H 1
  42. // Do we have <unistd.h>?
  43. #define HAVE_UNISTD_H 1