mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-26 07:47:48 +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
1 changed files with 0 additions and 4 deletions
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