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
Erik Charlebois 2013-05-13 18:19:52 -04:00
parent 5027f75d79
commit 40fcee3f16
1 changed files with 2 additions and 0 deletions

View File

@ -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;