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:
Pavel Labath 2016-01-12 10:43:06 -05:00 committed by Mark Mentovai
parent a1784ae81f
commit 4f512397f5

View file

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