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 860d7f5da1
commit 2c03db146a

View File

@@ -1,10 +1,6 @@
#ifndef LIBDISASM_H
#define LIBDISASM_H
#ifdef WIN32
#include <windows.h>
#endif
#include <stdint.h>
/* 'NEW" types