]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Name: wx/msw/genrcdefs.h | |
3 | * Purpose: Emit preprocessor symbols into rcdefs.h for resource compiler | |
4 | * Author: Mike Wetherell | |
5 | * RCS-ID: $Id$ | |
6 | * Copyright: (c) 2005 Mike Wetherell | |
7 | * Licence: wxWindows licence | |
8 | */ | |
9 | ||
10 | #define EMIT(line) line | |
11 | ||
12 | EMIT(#ifndef _WX_RCDEFS_H) | |
13 | EMIT(#define _WX_RCDEFS_H) | |
14 | ||
15 | #ifdef _MSC_FULL_VER | |
16 | #if _MSC_FULL_VER < 140040130 | |
17 | EMIT(#define wxUSE_RC_MANIFEST 1) | |
18 | #endif | |
19 | #endif | |
20 | ||
21 | #ifdef _M_AMD64 | |
22 | EMIT(#define WX_CPU_AMD64) | |
23 | #endif | |
24 | ||
25 | #ifdef _M_ARM | |
26 | EMIT(#define WX_CPU_ARM) | |
27 | #endif | |
28 | ||
29 | #ifdef _M_IA64 | |
30 | EMIT(#define WX_CPU_IA64) | |
31 | #endif | |
32 | ||
33 | #if defined _M_IX86 || defined _X86_ | |
34 | EMIT(#define WX_CPU_X86) | |
35 | #endif | |
36 | ||
37 | #ifdef _M_PPC | |
38 | EMIT(#define WX_CPU_PPC) | |
39 | #endif | |
40 | ||
41 | #ifdef _M_SH | |
42 | EMIT(#define WX_CPU_SH) | |
43 | #endif | |
44 | ||
45 | EMIT(#endif) |