-
-/*
- Codewarrior doesn't define any Windows symbols until some headers
- are included
-*/
-#ifdef __MWERKS__
-# include <stddef.h>
-
-# if !defined(__WXMAC__) && !defined(__WINDOWS__) && !defined(WIN32) && !defined(_WIN32_WCE)
-# define __PALMOS__ 0x05000000
-# endif
-#endif
-
-/*
- WXOSX targets
- __WXOSX_MAC__ means Mac OS X, non embedded
- __WXOSX_IPHONE__ means OS X iPhone
-*/
-
-/* backwards compatible define, until configure gets updated */
-#if defined __WXMAC__
-#define __WXOSX_CARBON__ 1
-#endif
-
-#if defined(__WXOSX_CARBON__) || defined(__WXOSX_COCOA__) || defined(__WXOSX_IPHONE__)
-# define __WXOSX__ 1
-#endif
-
-#ifdef __WXOSX__
-/* for backwards compatibility of code (including our own) define __WXMAC__ */
-# ifndef __WXMAC__
-# define __WXMAC__ 1
-# endif
-/* setup precise defines according to sdk used */
-# include <TargetConditionals.h>
-# if defined(__WXOSX_IPHONE__)
-# if !( defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE )
-# error "incorrect SDK for an iPhone build"
-# endif
-# elif defined(__WXOSX_CARBON__) || defined(__WXOSX_COCOA__)
-# if !( defined(TARGET_OS_MAC) && TARGET_OS_MAC )
-# error "incorrect SDK for a Mac OS X build"
-# endif
-# define __WXOSX_MAC__ 1
-# else
-# error "one of __WXOSX_IPHONE__, __WXOSX_CARBON__ or __WXOSX_COCOA__ must be defined"
-# endif
-#endif
-
-#ifdef __WXOSX_MAC__
-# if defined(__MACH__)
-# include <AvailabilityMacros.h>
-# ifndef MAC_OS_X_VERSION_10_4
-# define MAC_OS_X_VERSION_10_4 1040
-# endif
-# ifndef MAC_OS_X_VERSION_10_5
-# define MAC_OS_X_VERSION_10_5 1050
-# endif
-# ifndef MAC_OS_X_VERSION_10_6
-# define MAC_OS_X_VERSION_10_6 1060
-# endif
-# else
-# error "only mach-o configurations are supported"