mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: Output error message if capstone version is too low
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
|
||||
#include <capstone/capstone.h>
|
||||
|
||||
#if CS_API_MAJOR <= 4
|
||||
#error "Capstone 4 and older is not supported."
|
||||
#endif
|
||||
|
||||
namespace hex::plugin::disasm {
|
||||
|
||||
// Make sure these are in the same order as in capstone.h
|
||||
|
||||
Reference in New Issue
Block a user