another attempt to port the robust parser to MacOS

This commit is contained in:
kr.angelov
2012-05-16 15:18:44 +00:00
parent eb380dfb80
commit bd8046f23d
15 changed files with 21 additions and 32 deletions

View File

@@ -195,7 +195,7 @@ gu_format_string(GuPool* pool, const char* fmt, ...)
GuString
gu_str_string(const char* str, GuPool* pool)
{
#ifdef GU_CHAR_ASCII
#ifdef CHAR_ASCII
return gu_utf8_string((const uint8_t*) str, strlen(str), pool);
#else
GuPool* tmp_pool = gu_local_pool();