Fix linking issue on Windows. (#2587)

Inline functions are apparently not exposed with default visibility.
Fixes: https://github.com/capstone-engine/capstone/issues/2585
This commit is contained in:
Rot127 2024-12-26 12:01:36 +00:00 committed by GitHub
parent e160cbc59e
commit 186f7aa09f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ static const name_map insn_name_maps[BPF_INS_ENDING] = {
};
#endif
inline bool BPF_getFeature(const cs_mode mode, const cs_mode feature)
bool BPF_getFeature(const cs_mode mode, const cs_mode feature)
{
return (mode & feature);
}