2011-03-20 18:05:19 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/osx/config_xcode.h
|
|
|
|
// Purpose: configurations for xcode builds
|
|
|
|
// Author: Stefan Csomor
|
|
|
|
// Modified by:
|
|
|
|
// Created: 29.04.04
|
|
|
|
// Copyright: (c) wxWidgets team
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// from config.log confdefs
|
|
|
|
|
|
|
|
#define HAVE_SSIZE_T 1
|
|
|
|
#define STDC_HEADERS 1
|
|
|
|
#ifdef __BIG_ENDIAN__
|
|
|
|
#define WORDS_BIGENDIAN 1
|
|
|
|
#endif
|
|
|
|
#define wxUSE_UNIX 1
|
|
|
|
#define __UNIX__ 1
|
|
|
|
#define __BSD__ 1
|
|
|
|
#define __DARWIN__ 1
|
|
|
|
#define wx_USE_NANOX 0
|
|
|
|
#define TARGET_CARBON 1
|
|
|
|
|
|
|
|
#define HAVE_EXPLICIT 1
|
|
|
|
#define HAVE_VA_COPY 1
|
|
|
|
#define HAVE_VARIADIC_MACROS 1
|
|
|
|
#define HAVE_STD_WSTRING 1
|
|
|
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
|
|
|
|
#if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 2 )
|
|
|
|
#define HAVE_TR1_UNORDERED_MAP 1
|
|
|
|
#define HAVE_TR1_UNORDERED_SET 1
|
|
|
|
#define HAVE_TR1_TYPE_TRAITS 1
|
|
|
|
#define HAVE_GCC_ATOMIC_BUILTINS 1
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#define HAVE_VISIBILITY 1
|
|
|
|
#define wxHAVE_PTHREAD_CLEANUP 1
|
|
|
|
#define CONST_COMPATIBILITY 0
|
|
|
|
#define WX_TIMEZONE timezone
|
|
|
|
#define WX_SOCKLEN_T socklen_t
|
|
|
|
#define SOCKOPTLEN_T socklen_t
|
|
|
|
#define WX_STATFS_T struct statfs
|
|
|
|
#define wxTYPE_SA_HANDLER int
|
|
|
|
#define WX_GMTOFF_IN_TM 1
|
|
|
|
#define HAVE_PW_GECOS 1
|
|
|
|
#define HAVE_DLOPEN 1
|
|
|
|
#define HAVE_CXA_DEMANGLE 1
|
|
|
|
#define HAVE_GETTIMEOFDAY 1
|
|
|
|
#define HAVE_FSYNC 1
|
|
|
|
#define HAVE_ROUND 1
|
|
|
|
#define HAVE_SCHED_YIELD 1
|
|
|
|
#define HAVE_PTHREAD_MUTEXATTR_T 1
|
|
|
|
#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
|
|
|
|
#define HAVE_PTHREAD_CANCEL 1
|
|
|
|
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
|
|
|
|
#define HAVE_SNPRINTF 1
|
|
|
|
#define HAVE_SNPRINTF_DECL 1
|
|
|
|
#define HAVE_UNIX98_PRINTF 1
|
|
|
|
#define HAVE_STATFS 1
|
|
|
|
#define HAVE_STATFS_DECL 1
|
|
|
|
#define HAVE_STRPTIME 1
|
|
|
|
#define HAVE_STRPTIME_DECL 1
|
|
|
|
#define HAVE_STRTOULL 1
|
|
|
|
#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
|
|
|
|
#define HAVE_VSNPRINTF 1
|
|
|
|
#define HAVE_VSNPRINTF_DECL 1
|
|
|
|
#define HAVE_VSSCANF 1
|
|
|
|
#define HAVE_VSSCANF_DECL 1
|
|
|
|
#define HAVE_USLEEP 1
|
|
|
|
#define HAVE_WCSLEN 1
|
|
|
|
#define SIZEOF_WCHAR_T 4
|
|
|
|
#define SIZEOF_SHORT 2
|
|
|
|
#define SIZEOF_INT 4
|
|
|
|
#ifdef __LP64__
|
|
|
|
#define SIZEOF_VOID_P 8
|
|
|
|
#define SIZEOF_LONG 8
|
|
|
|
#define SIZEOF_SIZE_T 8
|
|
|
|
#else
|
|
|
|
#define SIZEOF_VOID_P 4
|
|
|
|
#define SIZEOF_LONG 4
|
|
|
|
#define SIZEOF_SIZE_T 4
|
|
|
|
#endif
|
|
|
|
#define SIZEOF_LONG_LONG 8
|
|
|
|
#define wxSIZE_T_IS_ULONG 1
|
|
|
|
#define wxWCHAR_T_IS_REAL_TYPE 1
|
|
|
|
#define HAVE_DLERROR 1
|
|
|
|
#define HAVE_FCNTL 1
|
|
|
|
#define HAVE_GETHOSTBYNAME 1
|
|
|
|
#define HAVE_GETSERVBYNAME 1
|
|
|
|
#define HAVE_GMTIME_R 1
|
|
|
|
#define HAVE_INET_ADDR 1
|
|
|
|
#define HAVE_INET_ATON 1
|
|
|
|
#define HAVE_LOCALTIME_R 1
|
|
|
|
#define HAVE_MKSTEMP 1
|
|
|
|
#define HAVE_SETENV 1
|
|
|
|
/* #define HAVE_PUTENV 1 */
|
|
|
|
#define HAVE_STRTOK_R 1
|
|
|
|
#define HAVE_UNAME 1
|
|
|
|
#define HAVE_USLEEP 1
|
|
|
|
#define HAVE_X11_XKBLIB_H 1
|
|
|
|
#define HAVE_SCHED_H 1
|
|
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
#define HAVE_WCHAR_H 1
|
|
|
|
/* better to use the built-in CF conversions, also avoid iconv versioning problems */
|
|
|
|
/* #undef HAVE_ICONV */
|
|
|
|
#define ICONV_CONST
|
|
|
|
#define HAVE_LANGINFO_H 1
|
|
|
|
#define HAVE_WCSRTOMBS 1
|
|
|
|
#define HAVE_FPUTWS 1
|
|
|
|
#define HAVE_WPRINTF 1
|
|
|
|
#define HAVE_VSWPRINTF 1
|
|
|
|
#define HAVE_VSWSCANF 1
|
|
|
|
#define HAVE_FSEEKO 1
|
|
|
|
#define HAVE_SYS_SELECT_H 1
|
|
|
|
#define HAVE_FDOPEN 1
|
|
|
|
#define HAVE_SYSCONF 1
|
|
|
|
#define HAVE_GETPWUID_R 1
|
|
|
|
#define HAVE_GETGRGID_R 1
|
|
|
|
#define HAVE_LOCALE_T 1
|
|
|
|
#define wxHAS_KQUEUE 1
|
|
|
|
|
|
|
|
#define WXWIN_OS_DESCRIPTION "Darwin 7.9.0 Power Macintosh"
|
|
|
|
#define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
|
|
|
|
#define PACKAGE_NAME "wxWidgets"
|
2013-12-08 20:37:10 +00:00
|
|
|
#define PACKAGE_STRING "wxWidgets 3.1.0"
|
2011-03-20 18:05:19 +00:00
|
|
|
#define PACKAGE_TARNAME "wxwidgets"
|
2013-12-08 20:37:10 +00:00
|
|
|
#define PACKAGE_VERSION "3.1.0"
|
2011-03-20 18:05:19 +00:00
|
|
|
|
|
|
|
// for regex
|
|
|
|
#define WX_NO_REGEX_ADVANCED 1
|
|
|
|
|
|
|
|
// for jpeg
|
|
|
|
|
|
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
|
|
|
|
// OBSOLETE ?
|
|
|
|
|
|
|
|
#define HAVE_COS 1
|
|
|
|
#define HAVE_FLOOR 1
|
|
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
|
|
|
|
#define HAVE_REGCOMP 1
|
|
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
#define HAVE_STRING_H 1
|
|
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
#define HAVE_X11_XLIB_H 1
|
|
|
|
#define SOCKLEN_T socklen_t
|
|
|
|
#define _FILE_OFFSET_BITS 64
|