Config.Win32.pp 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. //
  2. // Config.Win32.pp
  3. //
  4. // This file defines some custom config variables for the Windows
  5. // platform, using MS VC++. It makes some initial guesses about
  6. // compiler features, etc.
  7. //
  8. // What additional flags should we pass to interrogate?
  9. #define SYSTEM_IGATE_FLAGS -longlong __int64 -D_X86_ -DWIN32_VC -D"_declspec(param)="
  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
  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 1
  18. // Do we have a gettimeofday() function?
  19. #define HAVE_GETTIMEOFDAY
  20. // Does gettimeofday() take only one parameter?
  21. #define GETTIMEOFDAY_ONE_PARAM
  22. // Do we have getopt() and/or getopt_long_only() built into the
  23. // system?
  24. #define HAVE_GETOPT
  25. #define HAVE_GETOPT_LONG_ONLY
  26. // Can we determine the terminal width by making an ioctl(TIOCGWINSZ) call?
  27. #define IOCTL_TERMINAL_WIDTH
  28. // Do the compiler or the system headers define a "streamsize" typedef?
  29. #define HAVE_STREAMSIZE 1
  30. // Can we safely call getenv() at static init time?
  31. #define STATIC_INIT_GETENV 1
  32. // Can we read the file /proc/self/environ to determine our
  33. // environment variables at static init time?
  34. #define HAVE_PROC_SELF_ENVIRON
  35. // Do we have a global pair of argc/argv variables that we can read at
  36. // static init time? Should we prototype them? What are they called?
  37. #define HAVE_GLOBAL_ARGV 1
  38. #define PROTOTYPE_GLOBAL_ARGV
  39. #define GLOBAL_ARGV __argv
  40. #define GLOBAL_ARGC __argc
  41. // Can we read the file /proc/self/cmdline to determine our
  42. // command-line arguments at static init time?
  43. #define HAVE_PROC_SELF_CMDLINE
  44. // Should we include <iostream> or <iostream.h>? Define HAVE_IOSTREAM
  45. // to nonempty if we should use <iostream>, or empty if we should use
  46. // <iostream.h>.
  47. #define HAVE_IOSTREAM 1
  48. // Do we have a true stringstream class defined in <sstream>?
  49. #define HAVE_SSTREAM 1
  50. // Do we have <io.h>?
  51. #define HAVE_IO_H 1
  52. // Do we have <malloc.h>?
  53. #define HAVE_MALLOC_H 1
  54. // Do we have <alloca.h>?
  55. #define HAVE_ALLOCA_H
  56. // Do we have <minmax.h>?
  57. #define HAVE_MINMAX_H 1
  58. // Do we have <sys/types.h>?
  59. #define HAVE_SYS_TYPES_H 1
  60. // Do we have <unistd.h>?
  61. #define HAVE_UNISTD_H
  62. // Do we have <utime.h>?
  63. #define HAVE_UTIME_H
  64. // Do we have <dirent.h>?
  65. #define HAVE_DIRENT_H
  66. // Do we have <sys/soundcard.h> (and presumably a Linux-style audio
  67. // interface)?
  68. #define HAVE_SYS_SOUNDCARD_H
  69. // can Intel C++ build this directory successfully (if not, change CC to msvc)
  70. #define NOT_INTEL_BUILDABLE false