mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 10:09:36 -06:00
Upgrade WX to r74856, mainly to support @2x.
This commit is contained in:
30
Externals/wxWidgets3/include/wx/msw/rcdefs.h
vendored
30
Externals/wxWidgets3/include/wx/msw/rcdefs.h
vendored
@ -2,7 +2,6 @@
|
||||
// Name: wx/msw/rcdefs.h
|
||||
// Purpose: Fallback for the generated rcdefs.h under the lib directory
|
||||
// Author: Mike Wetherell
|
||||
// RCS-ID: $Id: rcdefs.h 36133 2005-11-08 22:49:46Z MW $
|
||||
// Copyright: (c) 2005 Mike Wetherell
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@ -10,6 +9,33 @@
|
||||
#ifndef _WX_RCDEFS_H
|
||||
#define _WX_RCDEFS_H
|
||||
|
||||
#define WX_CPU_X86
|
||||
#ifdef __GNUC__
|
||||
// We must be using windres which uses gcc as its preprocessor. We do need
|
||||
// to generate the manifest then as gcc doesn't do it automatically and we
|
||||
// can define the architecture macro on our own as all the usual symbols
|
||||
// are available (unlike with Microsoft RC.EXE which doesn't predefine
|
||||
// anything useful at all).
|
||||
#ifndef wxUSE_RC_MANIFEST
|
||||
#define wxUSE_RC_MANIFEST 1
|
||||
#endif
|
||||
|
||||
#if defined __i386__
|
||||
#ifndef WX_CPU_X86
|
||||
#define WX_CPU_X86
|
||||
#endif
|
||||
#elif defined __x86_64__
|
||||
#ifndef WX_CPU_AMD64
|
||||
#define WX_CPU_AMD64
|
||||
#endif
|
||||
#elif defined __ia64__
|
||||
#ifndef WX_CPU_IA64
|
||||
#define WX_CPU_IA64
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Don't do anything here for the other compilers, in particular don't define
|
||||
// WX_CPU_X86 here as we used to do. If people define wxUSE_RC_MANIFEST, they
|
||||
// must also define the architecture constant correctly.
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user