modifications for compilation under Mac OS X
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,8 +52,33 @@
|
||||
#define OS2EMX_PLAIN_CHAR
|
||||
#endif
|
||||
|
||||
#elif defined(applec) || defined(THINK_C) || ( defined( __MWERKS__ ) && !defined(__INTEL__) )
|
||||
#if defined(__APPLE__)
|
||||
// MacOS X
|
||||
#ifndef __WXMAC__
|
||||
#define __WXMAC__
|
||||
#endif
|
||||
#ifndef __WXMAC_X__
|
||||
#define __WXMAC_X__
|
||||
#endif
|
||||
|
||||
#define PM_USE_SESSION_APIS 0
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
#elif defined(applec) || defined(THINK_C) || (defined(__MWERKS__) && !defined(__INTEL__))
|
||||
// MacOS
|
||||
#elif defined(__WXMAC__) && defined(__APPLE__)
|
||||
// MacOS X
|
||||
#define __UNIX_LIKE__
|
||||
|
||||
#ifndef __WXMAC__
|
||||
#define __WXMAC__
|
||||
#endif
|
||||
#ifndef __WXMAC_X__
|
||||
#define __WXMAC_X__
|
||||
#endif
|
||||
|
||||
#define PM_USE_SESSION_APIS 0
|
||||
#include <Carbon/Carbon.h>
|
||||
#elif defined(__OS2__)
|
||||
#if defined(__IBMCPP__)
|
||||
#define __VISAGEAVER__ __IBMCPP__
|
||||
|
Reference in New Issue
Block a user