mach-o shared libs support for cw

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-03-27 05:27:48 +00:00
parent d9692c12b2
commit da6a5fe2cf
12 changed files with 138 additions and 14 deletions

View File

@@ -1,7 +1,9 @@
#if __option (profile)
#error "profiling is not supported for debug targets"
#else
#if __POWERPC__
#if __MACH__
#pragma precompile_target "wxshlba_Mach++_d.mch"
#elif __POWERPC__
#pragma precompile_target "wxshlba_Carbon++_d.mch"
#else
#error "illegal processor for carbon"
@@ -16,6 +18,16 @@
#define wxUSE_GUI 1
#define TARGET_CARBON 1
#define OLDP2C 1
#ifdef __MACH__
#define __DARWIN__
#define __CF_USE_FRAMEWORK_INCLUDES__
#define __NOEXTENSIONS__
#define __UNIX__
#define __UNIX_LIKE__
#define HAVE_USLEEP 1
#define HAVE_FCNTL 1
#define HAVE_UNAME 1
#endif
#include "wx/wx_cw_cm.h"
#ifdef WX_PRECOMP