libdisasm: Remove inclusion of windows.h
windows.h defines exception_code as a macro, which conflicts with our use of the identifier in exception records. It appears that this particular include of windows.h is not needed, so instead of undefining the macro, I simply delete the include. Build tested with MSVC 2013. BUG= R=mark@chromium.org Review URL: https://codereview.chromium.org/1579623004 . Patch from Pavel Labath <labath@google.com>.
This commit is contained in:
committed by
Mark Mentovai
parent
860d7f5da1
commit
2c03db146a
4
src/third_party/libdisasm/libdis.h
vendored
4
src/third_party/libdisasm/libdis.h
vendored
@@ -1,10 +1,6 @@
|
|||||||
#ifndef LIBDISASM_H
|
#ifndef LIBDISASM_H
|
||||||
#define LIBDISASM_H
|
#define LIBDISASM_H
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* 'NEW" types
|
/* 'NEW" types
|
||||||
|
|||||||
Reference in New Issue
Block a user