--- code/branches/pcre16/pcre_byte_order.c 2011/12/19 14:05:44 811 +++ code/branches/pcre16/pcre_byte_order.c 2011/12/20 14:03:16 813 @@ -240,7 +240,9 @@ case OP_NOTPOSPLUSI: case OP_NOTPOSQUERYI: case OP_NOTPOSUPTOI: - utf16_char = TRUE; +#ifdef SUPPORT_UTF + if (utf) utf16_char = TRUE; +#endif length = PRIV(OP_lengths)[*ptr] - 1; break;