X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/6c71d5e4ddff02acdd391ddc5f0177f1d5ea980a..bd6d65e32b835551677456bf286d09ced6859882:/math/genwheel.c diff --git a/math/genwheel.c b/math/genwheel.c index 9bf3cbe1..0354cc28 100644 --- a/math/genwheel.c +++ b/math/genwheel.c @@ -35,6 +35,7 @@ #include #include +#include #include #include #include @@ -127,8 +128,8 @@ int main(int argc, char *argv[]) if (!sym) { for (q = header; *q; q++) { int ch = (unsigned char)*q; - if (isalnum(ch)) - ch = toupper(ch); + if (ISALNUM(ch)) + ch = TOUPPER(ch); else ch = '_'; DPUTC(&d, ch);