QNX patch extended for NTO
Norton T. Allen [Fri, 6 Jul 2001 09:39:57 +0000 (05:39 -0400)]
Message-Id: <200107061339.JAA12582@bottesini.harvard.edu>

p4raw-id: //depot/perl@11184

utf8.h

diff --git a/utf8.h b/utf8.h
index baee5ae..e23cff2 100644 (file)
--- 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)