projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed unneeded junk copied from MSW port
[wxWidgets.git]
/
include
/
wxshlb_cwc.pch
diff --git
a/include/wxshlb_cwc.pch
b/include/wxshlb_cwc.pch
index 4fb552767847ee13976b2703c557019ad1fc2afd..e2cb2e8692b12f6c60857a87f12495c7681b138b 100644
(file)
--- a/
include/wxshlb_cwc.pch
+++ b/
include/wxshlb_cwc.pch
@@
-7,6
+7,8
@@
#else
#if __POWERPC__
#pragma precompile_target "wxshlb_Carbon.mch"
#else
#if __POWERPC__
#pragma precompile_target "wxshlb_Carbon.mch"
+#elif __MACH__
+ #pragma precompile_target "wxshlb_Mach.mch"
#else
#error "illegal processor for carbon"
#endif
#else
#error "illegal processor for carbon"
#endif
@@
-18,5
+20,19
@@
#define wxUSE_GUI 1
#define TARGET_CARBON 1
#define OLDP2C 1
#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"
#include "wx/wx_cw_cm.h"
+#ifdef __WXMSW__
+ #include <windows.h>
+ #include "wx/msw/winundef.h"
+#endif