Fix host compiler when cross OS DAC compiling (#31775)
authorSteve MacLean <Steve.MacLean@microsoft.com>
Wed, 5 Feb 2020 21:58:18 +0000 (16:58 -0500)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 21:58:18 +0000 (16:58 -0500)
commit0ae4902db25c48074b9b721387e9dfa1d319aa26
tree7a47ba965f282a8a31e452edb8d6f854152cd0e1
parentc44edc19fc6c4792b002ac115e72d2f7805ade6d
Fix host compiler when cross OS DAC compiling (#31775)

* Fix duplicate type definition MINIDUMP_TYPE

The Windows headers define MINIDUMP_TYPE. Do not define when using a
Windows HOST.

* Define DLLEXPORT macro as empty on Windows hosts

* Prefer HOST_WINDOWS to !HOST_UNIX
src/coreclr/src/debug/inc/dump/dumpcommon.h
src/coreclr/src/inc/crtwrap.h