OSDN Git Service
(root)
/
nkf
/
nkf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77f8058
)
UTF8_INPUT_ENABLE が undef の時にコンパイルできなかったのを修正
author
Rei FURUKAWA
<rei_furukawa@users.sourceforge.jp>
Fri, 8 Nov 2002 02:45:07 +0000
(
02:45
+0000)
committer
Rei FURUKAWA
<rei_furukawa@users.sourceforge.jp>
Fri, 8 Nov 2002 02:45:07 +0000
(
02:45
+0000)
nkf.c
patch
|
blob
|
history
diff --git
a/nkf.c
b/nkf.c
index
2a87ce0
..
618b5f4
100644
(file)
--- a/
nkf.c
+++ b/
nkf.c
@@
-1452,7
+1452,13
@@
kanji_convert(f)
SEND;
} else {
/* first byte */
- if (iconv == w_iconv16) {
+ if (
+#ifdef UTF8_INPUT_ENABLE
+ iconv == w_iconv16
+#else
+ 0
+#endif
+ ) {
c2 = c1;
c1 = (*i_getc)(f);
SEND;