]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/genrcdefs.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / msw / genrcdefs.h
CommitLineData
c8d58531
MW
1/*
2 * Name: wx/msw/genrcdefs.h
3 * Purpose: Emit preprocessor symbols into rcdefs.h for resource compiler
4 * Author: Mike Wetherell
c8d58531
MW
5 * Copyright: (c) 2005 Mike Wetherell
6 * Licence: wxWindows licence
7 */
8
9#define EMIT(line) line
10
11EMIT(#ifndef _WX_RCDEFS_H)
12EMIT(#define _WX_RCDEFS_H)
13
14#ifdef _MSC_FULL_VER
15f74a3f
VZ
15#if _MSC_FULL_VER < 140040130
16EMIT(#define wxUSE_RC_MANIFEST 1)
17#endif
4de55d6f
VZ
18#else
19EMIT(#define wxUSE_RC_MANIFEST 1)
c8d58531
MW
20#endif
21
22#ifdef _M_AMD64
23EMIT(#define WX_CPU_AMD64)
24#endif
25
26#ifdef _M_ARM
27EMIT(#define WX_CPU_ARM)
28#endif
29
30#ifdef _M_IA64
31EMIT(#define WX_CPU_IA64)
32#endif
33
34#if defined _M_IX86 || defined _X86_
35EMIT(#define WX_CPU_X86)
36#endif
37
38#ifdef _M_PPC
39EMIT(#define WX_CPU_PPC)
40#endif
41
42#ifdef _M_SH
43EMIT(#define WX_CPU_SH)
44#endif
45
46EMIT(#endif)