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