Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix build with libstdc++
libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
- Loading branch information
43702ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<strings.h>
!=<cstring>
strings.h
is mostly deprecated; the only non-deprecated functions arestr(n)casecmp
andffs
(find least-significant1
bit).