summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index baee5ae2c4..e23cff28c5 100644
--- a/utf8.h
+++ b/utf8.h
@@ -159,6 +159,8 @@ END_EXTERN_C
#define UNICODE_IS_BYTE_ORDER_MARK(c) ((c) == UNICODE_BYTER_ORDER_MARK)
#define UNICODE_IS_ILLEGAL(c) ((c) == UNICODE_ILLEGAL)
-#define UTF8_QUAD_MAX UINT64_C(0x1000000000)
+#ifdef HAS_QUAD
+# define UTF8_QUAD_MAX UINT64_C(0x1000000000)
+#endif
#define UTF8_IS_ASCII(c) UTF8_IS_INVARIANT(c)