Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix compile error with capstone_static_winkernel
The MSVC project capstone_static_winkernel uses __stdcall as a default calling convention to fit with environment for Windows driver development. This leads to a compile error in a use of qsort() with regs_cmp() since it is compiled as a __stdcall function while qsort() expects a __cdelc function. This fix adds explicit calling convention to regs_cmp() for MSVC. Signed-off-by: Satoshi Tanda <[email protected]>
- Loading branch information