summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/string.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-05-16 15:18:44 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-05-16 15:18:44 +0000
commitf4c17cb7aa1517739c5aea5155e17fc9d1b2f05e (patch)
treedaf935713c70a871e9131d2d92eb97e7ac7b6aee /src/runtime/c/gu/string.c
parent6f328c9040b394054eff399f26d3b7aea6567206 (diff)
another attempt to port the robust parser to MacOS
Diffstat (limited to 'src/runtime/c/gu/string.c')
-rw-r--r--src/runtime/c/gu/string.c2
1 files changed, 1 insertions, 1 deletions
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();