build: Output error message if capstone version is too low

This commit is contained in:
WerWolv
2026-01-22 21:22:42 +01:00
parent 928e0f227a
commit 96a5a5d34c

View File

@@ -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