]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/config_xcode.h
use wxWindowIDRef to transparently implement auto-generated ids ref-counting (slightl...
[wxWidgets.git] / include / wx / mac / carbon / config_xcode.h
CommitLineData
77f2f1d3
SC
1///////////////////////////////////////////////////////////////////////////////
2// Name: config_xcode.pch
3// Purpose: configurations for xcode builds
4// Author: Stefan Csomor
5// Modified by:
6// Created: 29.04.04
7// RCS-ID: $Id$
77ffb593 8// Copyright: (c) wxWidgets team
65571936 9// Licence: wxWindows licence
77f2f1d3
SC
10///////////////////////////////////////////////////////////////////////////////
11
12// from config.log confdefs
13
819f6fb9 14#define HAVE_SSIZE_T 1
c819dcf7
SC
15#define STDC_HEADERS 1
16#if __BIG_ENDIAN__
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
77f2f1d3 26#define HAVE_BOOL 1
77f2f1d3 27#define HAVE_EXPLICIT 1
c819dcf7
SC
28#define HAVE_CONST_CAST
29#define HAVE_REINTERPRET_CAST
30#define HAVE_STATIC_CAST
31#define HAVE_VA_COPY 1
32#define HAVE_VARIADIC_MACROS 1
33#define CONST_COMPATIBILITY 0
34#define WX_TIMEZONE timezone
35#define WX_SOCKLEN_T socklen_t
36#define SOCKOPTLEN_T socklen_t
37#define WX_STATFS_T struct statfs
38#define wxTYPE_SA_HANDLER int
39#define WX_GMTOFF_IN_TM 1
40#define HAVE_PW_GECOS 1
77f2f1d3 41#define HAVE_GETTIMEOFDAY 1
c819dcf7 42#define HAVE_FSYNC 1
77f2f1d3 43#define HAVE_SCHED_YIELD 1
c819dcf7
SC
44#define HAVE_PTHREAD_MUTEXATTR_T 1
45#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
46#define HAVE_PTHREAD_CANCEL 1
47#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
c819dcf7
SC
48#define HAVE_SNPRINTF 1
49#define HAVE_SNPRINTF_DECL 1
50#define HAVE_UNIX98_PRINTF 1
77f2f1d3 51#define HAVE_STATFS 1
c819dcf7 52#define HAVE_STATFS_DECL 1
77f2f1d3 53#define HAVE_STRPTIME 1
c819dcf7 54#define HAVE_STRPTIME_DECL 1
77f2f1d3 55#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
77f2f1d3
SC
56#define HAVE_VSNPRINTF 1
57#define HAVE_VSNPRINTF_DECL 1
c819dcf7 58#define HAVE_USLEEP 1
77f2f1d3 59#define HAVE_WCSLEN 1
c819dcf7
SC
60#define SIZEOF_WCHAR_T 4
61#define SIZEOF_SHORT 2
77f2f1d3 62#define SIZEOF_INT 4
c819dcf7
SC
63#ifdef __LP64__
64#define SIZEOF_VOID_P 8
65#define SIZEOF_LONG 8
66#define SIZEOF_SIZE_T 8
67#else
68#define SIZEOF_VOID_P 4
77f2f1d3 69#define SIZEOF_LONG 4
77f2f1d3 70#define SIZEOF_SIZE_T 4
080c6eec 71#endif
c819dcf7
SC
72
73#define SIZEOF_LONG_LONG 8
74#define wxSIZE_T_IS_ULONG 1
75#define HAVE_FCNTL 1
76#define HAVE_GETHOSTBYNAME 1
77#define HAVE_GETSERVBYNAME 1
78#define HAVE_GMTIME_R 1
79#define HAVE_INET_ADDR 1
80#define HAVE_INET_ATON 1
81#define HAVE_LOCALTIME_R 1
82#define HAVE_MKSTEMP 1
83#define HAVE_PUTENV 1
c819dcf7
SC
84#define HAVE_STRTOK_R 1
85#define HAVE_UNAME 1
86#define HAVE_USLEEP 1
87#define HAVE_X11_XKBLIB_H 1
c819dcf7
SC
88#define HAVE_SCHED_H 1
89#define HAVE_UNISTD_H 1
90#define HAVE_WCHAR_H 1
b81f668c
SC
91/* better to use the built-in CF conversions, also avoid iconv versioning problems */
92/* #undef HAVE_ICONV */
cdac585c
SC
93#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
94#define ICONV_CONST const
95#else
96#define ICONV_CONST
97#endif
c819dcf7
SC
98#define HAVE_LANGINFO_H 1
99#define HAVE_WCSRTOMBS 1
100#define HAVE_FPUTWS 1
101#define HAVE_STRCASECMP_IN_STRING_H 1
102#define HAVE_WPRINTF 1
c819dcf7
SC
103#define HAVE_VSWPRINTF 1
104#define HAVE_FSEEKO 1
105#define HAVE_SYS_SELECT_H 1
106
107#define WXWIN_OS_DESCRIPTION "Darwin 7.9.0 Power Macintosh"
108#define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
109#define PACKAGE_NAME "wxWidgets"
05a09b0b 110#define PACKAGE_STRING "wxWidgets 2.9.0"
c819dcf7 111#define PACKAGE_TARNAME "wxwidgets"
05a09b0b 112#define PACKAGE_VERSION "2.9.0"
c819dcf7
SC
113
114// for regex
77f2f1d3 115#define WX_NO_REGEX_ADVANCED 1
c819dcf7
SC
116
117// for jpeg
118
119#define HAVE_STDLIB_H 1
120
121// OBSOLETE ?
122
123#define HAVE_COS 1
124#define HAVE_FLOOR 1
125#define HAVE_INTTYPES_H 1
126#define HAVE_MEMORY_H 1
127
128#define HAVE_REGCOMP 1
129#define HAVE_STRINGS_H 1
130#define HAVE_STRING_H 1
131#define HAVE_SYS_STAT_H 1
132#define HAVE_SYS_TYPES_H 1
c819dcf7
SC
133#define HAVE_X11_XLIB_H 1
134#define SOCKLEN_T socklen_t
77f2f1d3 135#define _FILE_OFFSET_BITS 64