mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 07:55:38 +00:00
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:
parent
a1784ae81f
commit
4f512397f5
4
src/third_party/libdisasm/libdis.h
vendored
4
src/third_party/libdisasm/libdis.h
vendored
|
@ -1,10 +1,6 @@
|
|||
#ifndef LIBDISASM_H
|
||||
#define LIBDISASM_H
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/* 'NEW" types
|
||||
|
|
Loading…
Reference in a new issue