summaryrefslogtreecommitdiffstats
path: root/mbbsd/convert.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-28 13:47:34 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-28 13:47:34 +0800
commit94ee5b0f546ecdb6558a4d24028c728997c175e2 (patch)
treebf6bf1e783fe3c41fadef406ff2168ea86f43002 /mbbsd/convert.c
parent30edc2d47868e24f54a9505f7eb66c0a42c64b4d (diff)
downloadpttbbs-94ee5b0f546ecdb6558a4d24028c728997c175e2.tar
pttbbs-94ee5b0f546ecdb6558a4d24028c728997c175e2.tar.gz
pttbbs-94ee5b0f546ecdb6558a4d24028c728997c175e2.tar.bz2
pttbbs-94ee5b0f546ecdb6558a4d24028c728997c175e2.tar.lz
pttbbs-94ee5b0f546ecdb6558a4d24028c728997c175e2.tar.xz
pttbbs-94ee5b0f546ecdb6558a4d24028c728997c175e2.tar.zst
pttbbs-94ee5b0f546ecdb6558a4d24028c728997c175e2.zip
1.#ifdef GQ_CONVERT
2.add info to FAQ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1380 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/convert.c')
-rw-r--r--mbbsd/convert.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c
index c7140d03..6e620e23 100644
--- a/mbbsd/convert.c
+++ b/mbbsd/convert.c
@@ -3,6 +3,8 @@
* The following code is copied and modified from "autoconvert" with GPL.
*/
+#ifdef GB_CONVERT
+
#include "convert.h"
#define BtoG_bad1 0xa1
@@ -64,3 +66,4 @@ unsigned char *big2gb(unsigned char *s, int plen)
unsigned char c = 0;
return hzconvert(s, &plen, &c, b2g);
}
+#endif