zydis
zydis copied to clipboard
Remove typecasts from version macros
Using typecasts in version macros prevents them from being used in the #if directive. According to the GCC documentation [1], the #if directive only allows integer constant expressions, and typecasts are not permitted in such expressions.
This change removes the typecasts from the version macros, allowing them to be used in preprocessor conditionals.
[1] https://gcc.gnu.org/onlinedocs/cpp/If.html