config_xcode.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/osx/config_xcode.h
  3. // Purpose: configurations for xcode builds
  4. // Author: Stefan Csomor
  5. // Modified by:
  6. // Created: 29.04.04
  7. // Copyright: (c) wxWidgets team
  8. // Licence: wxWindows licence
  9. ///////////////////////////////////////////////////////////////////////////////
  10. // from config.log confdefs
  11. #define HAVE_SSIZE_T 1
  12. #define STDC_HEADERS 1
  13. #ifdef __BIG_ENDIAN__
  14. #define WORDS_BIGENDIAN 1
  15. #endif
  16. #define wxUSE_UNIX 1
  17. #define __UNIX__ 1
  18. #define __BSD__ 1
  19. #define __DARWIN__ 1
  20. #define wx_USE_NANOX 0
  21. #define TARGET_CARBON 1
  22. #define HAVE_EXPLICIT 1
  23. #define HAVE_VA_COPY 1
  24. #define HAVE_VARIADIC_MACROS 1
  25. #define HAVE_STD_WSTRING 1
  26. #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
  27. #if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 2 )
  28. #if !defined(__has_include)
  29. #define HAVE_TR1_UNORDERED_MAP 1
  30. #define HAVE_TR1_UNORDERED_SET 1
  31. #define HAVE_TR1_TYPE_TRAITS 1
  32. #endif
  33. #define HAVE_GCC_ATOMIC_BUILTINS 1
  34. #endif
  35. #endif
  36. #define HAVE_VISIBILITY 1
  37. #define wxHAVE_PTHREAD_CLEANUP 1
  38. #define CONST_COMPATIBILITY 0
  39. #define WX_TIMEZONE timezone
  40. #define WX_SOCKLEN_T socklen_t
  41. #define SOCKOPTLEN_T socklen_t
  42. #define WX_STATFS_T struct statfs
  43. #define wxTYPE_SA_HANDLER int
  44. #define WX_GMTOFF_IN_TM 1
  45. #define HAVE_PW_GECOS 1
  46. #define HAVE_DLOPEN 1
  47. #define HAVE_CXA_DEMANGLE 1
  48. #define HAVE_GETTIMEOFDAY 1
  49. #define HAVE_FSYNC 1
  50. #define HAVE_ROUND 1
  51. #define HAVE_SCHED_YIELD 1
  52. #define HAVE_PTHREAD_MUTEXATTR_T 1
  53. #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
  54. #define HAVE_PTHREAD_CANCEL 1
  55. #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
  56. #define HAVE_SNPRINTF 1
  57. #define HAVE_SNPRINTF_DECL 1
  58. #define HAVE_UNIX98_PRINTF 1
  59. #define HAVE_STATFS 1
  60. #define HAVE_STATFS_DECL 1
  61. #define HAVE_STRPTIME 1
  62. #define HAVE_STRPTIME_DECL 1
  63. #define HAVE_STRTOULL 1
  64. #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
  65. #define HAVE_VSNPRINTF 1
  66. #define HAVE_VSNPRINTF_DECL 1
  67. #define HAVE_VSSCANF 1
  68. #define HAVE_VSSCANF_DECL 1
  69. #define HAVE_USLEEP 1
  70. #define HAVE_WCSLEN 1
  71. #define SIZEOF_WCHAR_T 4
  72. #define SIZEOF_SHORT 2
  73. #define SIZEOF_INT 4
  74. #ifdef __LP64__
  75. #define SIZEOF_VOID_P 8
  76. #define SIZEOF_LONG 8
  77. #define SIZEOF_SIZE_T 8
  78. #else
  79. #define SIZEOF_VOID_P 4
  80. #define SIZEOF_LONG 4
  81. #define SIZEOF_SIZE_T 4
  82. #endif
  83. #define SIZEOF_LONG_LONG 8
  84. #define wxSIZE_T_IS_ULONG 1
  85. #define wxWCHAR_T_IS_REAL_TYPE 1
  86. #define HAVE_DLERROR 1
  87. #define HAVE_FCNTL 1
  88. #define HAVE_GETHOSTBYNAME 1
  89. #define HAVE_GETSERVBYNAME 1
  90. #define HAVE_GMTIME_R 1
  91. #define HAVE_INET_ADDR 1
  92. #define HAVE_INET_ATON 1
  93. #define HAVE_LOCALTIME_R 1
  94. #define HAVE_MKSTEMP 1
  95. #define HAVE_SETENV 1
  96. /* #define HAVE_PUTENV 1 */
  97. #define HAVE_STRTOK_R 1
  98. #define HAVE_UNAME 1
  99. #define HAVE_USLEEP 1
  100. #define HAVE_X11_XKBLIB_H 1
  101. #define HAVE_SCHED_H 1
  102. #define HAVE_UNISTD_H 1
  103. #define HAVE_WCHAR_H 1
  104. /* better to use the built-in CF conversions, also avoid iconv versioning problems */
  105. /* #undef HAVE_ICONV */
  106. #define ICONV_CONST
  107. #define HAVE_LANGINFO_H 1
  108. #define HAVE_WCSRTOMBS 1
  109. #define HAVE_FPUTWS 1
  110. #define HAVE_WPRINTF 1
  111. #define HAVE_VSWPRINTF 1
  112. #define HAVE_VSWSCANF 1
  113. #define HAVE_FSEEKO 1
  114. #define HAVE_SYS_SELECT_H 1
  115. #define HAVE_FDOPEN 1
  116. #define HAVE_SYSCONF 1
  117. #define HAVE_GETPWUID_R 1
  118. #define HAVE_GETGRGID_R 1
  119. #define HAVE_LOCALE_T 1
  120. #define wxHAS_KQUEUE 1
  121. #define WXWIN_OS_DESCRIPTION "Darwin 7.9.0 Power Macintosh"
  122. #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
  123. #define PACKAGE_NAME "wxWidgets"
  124. #define PACKAGE_STRING "wxWidgets 3.0.2"
  125. #define PACKAGE_TARNAME "wxwidgets"
  126. #define PACKAGE_VERSION "3.0.2"
  127. // for regex
  128. #define WX_NO_REGEX_ADVANCED 1
  129. // for jpeg
  130. #define HAVE_STDLIB_H 1
  131. // OBSOLETE ?
  132. #define HAVE_COS 1
  133. #define HAVE_FLOOR 1
  134. #define HAVE_INTTYPES_H 1
  135. #define HAVE_MEMORY_H 1
  136. #define HAVE_REGCOMP 1
  137. #define HAVE_STRINGS_H 1
  138. #define HAVE_STRING_H 1
  139. #define HAVE_SYS_STAT_H 1
  140. #define HAVE_SYS_TYPES_H 1
  141. #define HAVE_X11_XLIB_H 1
  142. #define SOCKLEN_T socklen_t
  143. #define _FILE_OFFSET_BITS 64