]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/genrcdefs.h
support for @2x notation for wxBITMAP_TYPE_PNG (non-resource) on retina displays
[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
5 * RCS-ID: $Id$
6 * Copyright: (c) 2005 Mike Wetherell
7 * Licence: wxWindows licence
8 */
9
10#define EMIT(line) line
11
12EMIT(#ifndef _WX_RCDEFS_H)
13EMIT(#define _WX_RCDEFS_H)
14
15#ifdef _MSC_FULL_VER
15f74a3f
VZ
16#if _MSC_FULL_VER < 140040130
17EMIT(#define wxUSE_RC_MANIFEST 1)
18#endif
4de55d6f
VZ
19#else
20EMIT(#define wxUSE_RC_MANIFEST 1)
c8d58531
MW
21#endif
22
23#ifdef _M_AMD64
24EMIT(#define WX_CPU_AMD64)
25#endif
26
27#ifdef _M_ARM
28EMIT(#define WX_CPU_ARM)
29#endif
30
31#ifdef _M_IA64
32EMIT(#define WX_CPU_IA64)
33#endif
34
35#if defined _M_IX86 || defined _X86_
36EMIT(#define WX_CPU_X86)
37#endif
38
39#ifdef _M_PPC
40EMIT(#define WX_CPU_PPC)
41#endif
42
43#ifdef _M_SH
44EMIT(#define WX_CPU_SH)
45#endif
46
47EMIT(#endif)