(ccl_driver): Don't define `CCL_ReadMultibyteChar2' in UTF-2000
authortomo <tomo>
Wed, 1 Sep 1999 17:20:40 +0000 (17:20 +0000)
committertomo <tomo>
Wed, 1 Sep 1999 17:20:40 +0000 (17:20 +0000)
because it is not ported yet and not to use
`PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.

src/mule-ccl.c

index cc54369..8e5fad9 100644 (file)
@@ -1117,6 +1117,7 @@ ccl_driver (struct ccl_program *ccl, CONST unsigned char *source,
        case CCL_Extention:
          switch (EXCMD)
            {
+#ifndef UTF2000
            case CCL_ReadMultibyteChar2:
              if (!src)
                CCL_INVALID_CMD;
@@ -1230,6 +1231,7 @@ ccl_driver (struct ccl_program *ccl, CONST unsigned char *source,
                CCL_SUSPEND (CCL_STAT_SUSPEND_BY_SRC);
 
              break;
+#endif
 
            case CCL_WriteMultibyteChar2:
              i = reg[RRR]; /* charset */