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:
parent
e160cbc59e
commit
186f7aa09f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue