changes to make it compile standalone

This commit is contained in:
proddy
2021-07-18 21:44:24 +02:00
parent ec83123090
commit 239ba335b1
7 changed files with 29 additions and 9 deletions

View File

@@ -56,6 +56,11 @@ inline bool operator==(const std::string & lhs, const ::String & rhs) {
return lhs == rhs.c_str();
}
inline bool operator!=(const ::String & lhs, const ::String & rhs) {
return lhs.c_str() != rhs.c_str();
}
size_t strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize);
size_t strlcat(char * dst, const char * src, size_t siz);