Config.Win32.pp 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. // *******************************************************************
  9. // NOTE: you should not attempt to copy this file verbatim as your own
  10. // personal Config.pp file. Instead, you should start with an empty
  11. // Config.pp file, and add lines to it when you wish to override
  12. // settings given in here. In the normal ppremake system, this file
  13. // will always be read first, and then your personal Config.pp file
  14. // will be read later, which gives you a chance to override the
  15. // default settings found in this file. However, if you start by
  16. // copying the entire file, it will be difficult to tell which
  17. // settings you have customized, and it will be difficult to upgrade
  18. // to a subsequent version of Panda.
  19. // *******************************************************************
  20. // What additional flags should we pass to interrogate?
  21. // NSPR versions prior to 4.4 used _declspec instead of __declspec.
  22. #define SYSTEM_IGATE_FLAGS -longlong __int64 -D_X86_ -DWIN32_VC -D"_declspec(param)=" -D"__declspec(param)=" -D_near -D_far -D__near -D__far -D_WIN32 -D__stdcall -Dvolatile=
  23. // Additional flags to pass to the Tau instrumentor.
  24. #define TAU_INSTRUMENTOR_FLAGS -DTAU_USE_C_API -DPROFILING_ON -DWIN32_VC -D_WIN32 -D__cdecl= -D__stdcall= -D__fastcall= -D__i386 -D_MSC_VER=1310 -D_W64= -D_INTEGRAL_MAX_BITS=64 --exceptions --late_tiebreaker --no_class_name_injection --no_warnings --restrict --microsoft --new_for_init
  25. // Is the platform big-endian (like an SGI workstation) or
  26. // little-endian (like a PC)? Define this to the empty string to
  27. // indicate little-endian, or nonempty to indicate big-endian.
  28. #define WORDS_BIGENDIAN
  29. // Does the C++ compiler support namespaces?
  30. #define HAVE_NAMESPACE 1
  31. // Does the C++ compiler support ios::binary?
  32. #define HAVE_IOS_BINARY 1
  33. // How about the typename keyword?
  34. #define HAVE_TYPENAME 1
  35. // Will the compiler avoid inserting extra bytes in structs between a
  36. // base struct and its derived structs? It is safe to define this
  37. // false if you don't know, but if you know that you can get away with
  38. // this you may gain a tiny performance gain by defining this true.
  39. // If you define this true incorrectly, you will get lots of
  40. // assertion failures on execution.
  41. #define SIMPLE_STRUCT_POINTERS 1
  42. // Do we have a gettimeofday() function?
  43. #define HAVE_GETTIMEOFDAY
  44. // Does gettimeofday() take only one parameter?
  45. #define GETTIMEOFDAY_ONE_PARAM
  46. // Do we have getopt() and/or getopt_long_only() built into the
  47. // system?
  48. #define HAVE_GETOPT
  49. #define HAVE_GETOPT_LONG_ONLY
  50. // Are the above getopt() functions defined in getopt.h, or somewhere else?
  51. #define HAVE_GETOPT_H
  52. // Can we determine the terminal width by making an ioctl(TIOCGWINSZ) call?
  53. #define IOCTL_TERMINAL_WIDTH
  54. // Do the system headers define a "streamsize" typedef? How about the
  55. // ios::binary enumerated value? And other ios typedef symbols like
  56. // ios::openmode and ios::fmtflags?
  57. #define HAVE_STREAMSIZE 1
  58. #define HAVE_IOS_BINARY 1
  59. #define HAVE_IOS_TYPEDEFS 1
  60. // Can we safely call getenv() at static init time?
  61. #define STATIC_INIT_GETENV 1
  62. // Can we read the file /proc/self/environ to determine our
  63. // environment variables at static init time?
  64. #define HAVE_PROC_SELF_ENVIRON
  65. // Do we have a global pair of argc/argv variables that we can read at
  66. // static init time? Should we prototype them? What are they called?
  67. #define HAVE_GLOBAL_ARGV 1
  68. #define PROTOTYPE_GLOBAL_ARGV
  69. #define GLOBAL_ARGV __argv
  70. #define GLOBAL_ARGC __argc
  71. // Can we read the file /proc/self/cmdline to determine our
  72. // command-line arguments at static init time?
  73. #define HAVE_PROC_SELF_CMDLINE
  74. // Should we include <iostream> or <iostream.h>? Define HAVE_IOSTREAM
  75. // to nonempty if we should use <iostream>, or empty if we should use
  76. // <iostream.h>.
  77. #define HAVE_IOSTREAM 1
  78. // Do we have a true stringstream class defined in <sstream>?
  79. #define HAVE_SSTREAM 1
  80. // Does fstream::open() require a third parameter, specifying the
  81. // umask?
  82. #define HAVE_OPEN_MASK
  83. // Do the compiler or system libraries define wchar_t for you?
  84. #define HAVE_WCHAR_T 1
  85. // Does <string> define the typedef wstring? Most do, but for some
  86. // reason, versions of gcc before 3.0 didn't do this.
  87. #define HAVE_WSTRING 1
  88. // Do we have <new>?
  89. #define HAVE_NEW 1
  90. // Do we have <io.h>?
  91. #define HAVE_IO_H 1
  92. // Do we have <malloc.h>?
  93. #define HAVE_MALLOC_H 1
  94. // Do we have <alloca.h>?
  95. #define HAVE_ALLOCA_H
  96. // Do we have <locale.h>?
  97. #define HAVE_LOCALE_H
  98. // Do we have <minmax.h>?
  99. #define HAVE_MINMAX_H 1
  100. // Do we have <sys/types.h>?
  101. #define HAVE_SYS_TYPES_H 1
  102. #define HAVE_SYS_TIME_H
  103. // Do we have <unistd.h>?
  104. #define HAVE_UNISTD_H
  105. // Do we have <utime.h>?
  106. #define HAVE_UTIME_H
  107. // Do we have <dirent.h>?
  108. #define HAVE_DIRENT_H
  109. // Do we have <sys/soundcard.h> (and presumably a Linux-style audio
  110. // interface)?
  111. #define HAVE_SYS_SOUNDCARD_H
  112. // Do we have RTTI (and <typeinfo>)?
  113. #define HAVE_RTTI 1
  114. // Must global operator new and delete functions throw exceptions?
  115. #define GLOBAL_OPERATOR_NEW_EXCEPTIONS
  116. // MSVC7 does support the latest STL allocator definitions.
  117. #define USE_STL_ALLOCATOR 1
  118. // can Intel C++ build this directory successfully (if not, change CC to msvc)
  119. #define NOT_INTEL_BUILDABLE false
  120. // The dynamic library file extension (usually .so .dll or .dylib):
  121. #define DYNAMIC_LIB_EXT .dll
  122. #define BUNDLE_EXT