intel / haxm

Intel® Hardware Accelerated Execution Manager (Intel® HAXM)
BSD 3-Clause "New" or "Revised" License
3.18k stars 853 forks source link

netbsd: define min and max macros #438

Closed ryoon closed 2 years ago

ryoon commented 2 years ago

Fix modload haxm.mod runtime error by missing min() reference.

wcwang commented 2 years ago

Thanks for your commitment. The macro min() is only used in cpuid.c and memslot.c, both of which include "types.h", where the macro min() is defined. Could you check the cause and paste the NetBSD build errors for further analysis? Thanks.

ryoon commented 2 years ago

Hi,

I am sorry. I had rebased my older patch to the latest tree without checking core/include/types.h change. I withdraw this pull request.

Thank you very much.