VM: Fix Windows 64-bit build on Visual Studio 2012
The UNW_FLAG_EHANDLER #define is now visible in VS2012, causing a conflict with the definition in os-windows-x86.64.cpp. Added a #ifndef to only include the definition if it hasn't already been defined.db4
parent
5027f75d79
commit
40fcee3f16
|
@ -4,7 +4,9 @@ namespace factor {
|
|||
|
||||
typedef unsigned char UBYTE;
|
||||
|
||||
#ifndef UNW_FLAG_EHANDLER
|
||||
const UBYTE UNW_FLAG_EHANDLER = 0x1;
|
||||
#endif
|
||||
|
||||
struct UNWIND_INFO {
|
||||
UBYTE Version : 3;
|
||||
|
|
Loading…
Reference in New Issue