Skip to content

Commit

Permalink
Adding conditional compilation for freeBSD @ string utils
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Mar 4, 2024
1 parent 59a8369 commit 9c15473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/gear/string_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static inline std::string &stringRightTrim(std::string& s) {
std::find_if(
s.rbegin(),
s.rend(),
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__FreeBSD__)
[](int c) {return !std::isspace(c);}
).base(),
#else
Expand Down

0 comments on commit 9c15473

Please sign in to comment.