Author: leo
Date: Thu Nov  3 06:17:50 2005
New Revision: 9740

Modified:
   trunk/charset/unicode.c
Log:
fix unicode cclass code with no ICU installed

Modified: trunk/charset/unicode.c
==============================================================================
--- trunk/charset/unicode.c     (original)
+++ trunk/charset/unicode.c     Thu Nov  3 06:17:50 2005
@@ -17,6 +17,7 @@ This file implements the charset functio
 #include "parrot/parrot.h"
 #include "unicode.h"
 #include "ascii.h"
+#include "tables.h"
 
 #ifdef EXCEPTION
 #  undef EXCEPTION
@@ -201,6 +202,7 @@ validate(Interp *interpreter, STRING *sr
     return 1;
 }
 
+#if PARROT_HAS_ICU
 static int
 is_foo(Interp *interpreter, UINTVAL codepoint, int bit)
 {
@@ -246,6 +248,7 @@ is_foo(Interp *interpreter, UINTVAL code
     }
     return 0;
 }
+#endif
 
 static INTVAL
 is_cclass(Interp *interpreter, PARROT_CCLASS_FLAGS flags, STRING 
*source_string, UINTVAL offset)

Reply via email to