Fixed Mac build

This commit is contained in:
Latif Khalifa
2013-11-07 04:35:39 +01:00
parent 27322c07db
commit c629d2625c

View File

@@ -131,6 +131,14 @@
#include <boost/algorithm/string/replace.hpp>
#include <boost/lexical_cast.hpp>
#if LL_DARWIN
size_t strnlen(const char *s, size_t n)
{
const char *p = (const char *)memchr(s, 0, n);
return(p ? p-s : n);
}
#endif
using namespace LLAvatarAppearanceDefines;
//-----------------------------------------------------------------------------