]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/genrcdefs.h
show the function in which the assert failure occured if the compiler supports it
[wxWidgets.git] / include / wx / msw / genrcdefs.h
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 EMIT(#define WX_MSC_FULL_VER _MSC_FULL_VER)
17 #endif
18
19 #ifdef _M_AMD64
20 EMIT(#define WX_CPU_AMD64)
21 #endif
22
23 #ifdef _M_ARM
24 EMIT(#define WX_CPU_ARM)
25 #endif
26
27 #ifdef _M_IA64
28 EMIT(#define WX_CPU_IA64)
29 #endif
30
31 #if defined _M_IX86 || defined _X86_
32 EMIT(#define WX_CPU_X86)
33 #endif
34
35 #ifdef _M_PPC
36 EMIT(#define WX_CPU_PPC)
37 #endif
38
39 #ifdef _M_SH
40 EMIT(#define WX_CPU_SH)
41 #endif
42
43 EMIT(#endif)