diff options
-rw-r--r-- | pttbbs/common/sys/Makefile | 7 | ||||
-rw-r--r-- | pttbbs/include/cmsys.h | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/pttbbs/common/sys/Makefile b/pttbbs/common/sys/Makefile index 8b587a3b..968ef937 100644 --- a/pttbbs/common/sys/Makefile +++ b/pttbbs/common/sys/Makefile @@ -4,11 +4,8 @@ SRCROOT= ../.. .include "$(SRCROOT)/pttbbs.mk" SRCS:= daemon.c file.c lock.c log.c net.c sort.c string.c time.c \ - crypt.c record.c vector.c telnet.c vbuf.c vtkbd.c - -.if $(WITH_CONVERT) != "NO" -SRCS+= utf8.c big5.c -.endif + crypt.c record.c vector.c telnet.c vbuf.c vtkbd.c \ + utf8.c big5.c LIB:= cmsys diff --git a/pttbbs/include/cmsys.h b/pttbbs/include/cmsys.h index b64e18b1..9b929f0f 100644 --- a/pttbbs/include/cmsys.h +++ b/pttbbs/include/cmsys.h @@ -297,7 +297,6 @@ void telnet_ctx_set_ttype_arg (TelnetCtx *ctx, void *arg); ssize_t telnet_process (TelnetCtx *ctx, unsigned char *buf, ssize_t size); -#ifdef CONVERT /* utf8.c */ int ucs2utf(uint16_t ucs2, uint8_t *utf8); int utf2ucs(uint8_t *utf8, uint16_t *pucs); @@ -306,6 +305,5 @@ int utf2ucs(uint8_t *utf8, uint16_t *pucs); extern const uint16_t b2u_table[]; extern const uint16_t u2b_table[]; extern const uint8_t b2u_ambiguous_width[]; -#endif #endif |