Skip to content

Commit

Permalink
Fix linking issue on Windows. (#2587)
Browse files Browse the repository at this point in the history
Inline functions are apparently not exposed with default visibility.
Fixes: #2585
  • Loading branch information
Rot127 authored Dec 26, 2024
1 parent e160cbc commit 186f7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/BPF/BPFMapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 186f7aa

Please sign in to comment.