projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reverted the last 2 changes to this file, the border stuff has nothing to do with...
[wxWidgets.git]
/
include
/
wx_cwc_d.pch
diff --git
a/include/wx_cwc_d.pch
b/include/wx_cwc_d.pch
index d067e378f7d8208dad4bef9e4dbc3bab49636de8..631d3c4c13af2ffa92fd2f622eeb1bc120d81ade 100644
(file)
--- a/
include/wx_cwc_d.pch
+++ b/
include/wx_cwc_d.pch
@@
-1,7
+1,9
@@
#if __option (profile)
#error "profiling is not supported for debug targets"
#else
#if __option (profile)
#error "profiling is not supported for debug targets"
#else
-#if __POWERPC__
+#ifdef __MACH__
+ #pragma precompile_target "wx_Mach_d.mch"
+#elif __POWERPC__
#pragma precompile_target "wx_Carbon_d.mch"
#else
#error "illegal processor for carbon"
#pragma precompile_target "wx_Carbon_d.mch"
#else
#error "illegal processor for carbon"
@@
-13,6
+15,13
@@
#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__
+#endif
#include "wx/wx_cw_cm.h"
#ifdef __WXMSW__
#include "wx/wx_cw_cm.h"
#ifdef __WXMSW__