From f4c17cb7aa1517739c5aea5155e17fc9d1b2f05e Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 16 May 2012 15:18:44 +0000 Subject: another attempt to port the robust parser to MacOS --- src/runtime/c/gu/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/c/gu/string.c') diff --git a/src/runtime/c/gu/string.c b/src/runtime/c/gu/string.c index 0af0ce7be..d7e29fafe 100644 --- a/src/runtime/c/gu/string.c +++ b/src/runtime/c/gu/string.c @@ -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(); -- cgit v1.2.3