木村です。

mswin32版で修正が必要でした(win32.h extmk.rb.nt)。

missingに strcasecmpがあるのに strncasecmpがないのはなぜでしょう
か? (いずれにしろマクロ定義でにげちゃいましたが)

-- 
木村浩一
            May the source be with you.
    e-mail kbk / kt.rim.or.jp
           kimura / sqa.canon.co.jp


LS0tIHdpbjMyLmgub3JpZwlUdWUgQXByIDIwIDE3OjQxOjU4IDE5OTkKKysrIHdpbjMyLmgJRnJp
IEFwciAzMCAyMTozODowNCAxOTk5CkBAIC0xNDksNSArMTQ5LDYgQEAKICNkZWZpbmUgcG9wZW4g
ICAgICBfcG9wZW4KICNkZWZpbmUgcGNsb3NlICAgICBfcGNsb3NlCi0jZGVmaW5lIHN0cmNhc2Vj
bXAgX3N0cmNtcGkKKyNkZWZpbmUgc3RyY2FzZWNtcCBfc3RyaWNtcAorI2RlZmluZSBzdHJuY2Fz
ZWNtcCBfc3RybmljbXAKIAogLyogdGhlc2UgYXJlIGRlZmluZWQgaW4gbnQuYyAqLwo=

LS0tIHJ1YnktMS4zLjItOTkwNDA4L2V4dC9leHRtay5yYi5pbglUdWUgTWFyIDMwIDE0OjU4OjIy
IDE5OTkKKysrIHJ1YnktMS4zLjMtOTkwNDMwL2V4dC9leHRtay5yYi5pbglGcmkgQXByIDMwIDE3
OjM0OjA0IDE5OTkKQEAgLTIsNSArMiw0IEBACiAKICQiLnB1c2ggJ21rbWYucmInICMiCi1sb2Fk
ICdAdG9wX3NyY2RpckAvbGliL2ZpbmQucmInCiAKIGlmIEFSR1ZbMF0gPT0gJ3N0YXRpYycKQEAg
LTI1LDE3ICsyNCwxNCBAQAogaWYgJHRvcF9zcmNkaXIgIX4gIl4vIgogICAjIGdldCBhYnNvbHV0
ZSBwYXRoCi0gIHNhdmUgPSBEaXIucHdkCi0gIERpci5jaGRpciAkdG9wX3NyY2RpcgotICAkdG9w
X3NyY2RpciA9IERpci5wd2QKLSAgRGlyLmNoZGlyIHNhdmUKKyAgJHRvcF9zcmNkaXIgPSBGaWxl
LmV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