radare2/libr/asm/p/cs_version.h
2022-05-04 13:30:30 +02:00

17 lines
312 B
C

#ifndef CS_VERSION_H
#define CS_VERSION_H
#include <capstone/capstone.h>
#if CS_API_MAJOR == 5
#define CAPSTONE_VERSION_STRING "v5"
#elif CS_API_MAJOR == 4
#define CAPSTONE_VERSION_STRING "v4"
#elif CS_API_MAJOR == 3
#define CAPSTONE_VERSION_STRING "v3"
#else
#define CAPSTONE_VERSION_STRING ""
#endif
#endif