]> git.saurik.com Git - wxWidgets.git/blame - include/wxshlba_cwc.pch
protect access to ms_aTraceMasks with a critical section (replaces patch 1911172)
[wxWidgets.git] / include / wxshlba_cwc.pch
CommitLineData
ff297bdd
SC
1#if __option (profile)
2#if __POWERPC__
3 #pragma precompile_target "wxshlba_Carbon_prof.mch"
4#else
5 #error "illegal processor for carbon"
6#endif
7#else
da6a5fe2
SC
8#if __MACH__
9 #pragma precompile_target "wxshlba_Mach.mch"
10#elif __POWERPC__
ff297bdd
SC
11 #pragma precompile_target "wxshlba_Carbon.mch"
12#else
13 #error "illegal processor for carbon"
14#endif
15#endif
16
17#pragma once on
18#define WXUSINGDLL
19#undef WX_PRECOMP
20#define wxUSE_GUI 1
21#define TARGET_CARBON 1
22#define OLDP2C 1
da6a5fe2
SC
23#ifdef __MACH__
24 #define __DARWIN__
25 #define __CF_USE_FRAMEWORK_INCLUDES__
26 #define __NOEXTENSIONS__
27 #define __UNIX__
28 #define __UNIX_LIKE__
29 #define HAVE_USLEEP 1
30 #define HAVE_FCNTL 1
31 #define HAVE_UNAME 1
32#endif
ff297bdd
SC
33
34#include "wx/wx_cw_cm.h"
da6a5fe2
SC
35#ifdef __WXMSW__
36 #include <windows.h>
37 #include "wx/msw/winundef.h"
38#endif