mescc: Tinycc support: strtoull.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 19 Aug 2017 08:51:24 +0000 (10:51 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 19 Aug 2017 08:51:24 +0000 (10:51 +0200)
commit93714ad0a4b2ae59cb7eccedc83cd53e3cfcee8a
tree9ee929f2814c83ea0663c0000661af54ade83296
parent70e3e8358120600491dfecdad955992b801b43bf
mescc: Tinycc support: strtoull.

* mlibc/include/mlibc.h (_atoi): Declare.
* mlibc/include/ctype.h (isxdigit): Declare.
* mlibc/libc-gcc.c (isxdigit, _atoi): New function.
  (atoi): Use it.
* mlibc/libc-mes.c (isxdigit, _atoi): New function.
  (atoi): Use it.
* scaffold/tests/7j-strtoull.c (test): Test it.
* make.scm (add-scaffold-test): Build it.
make.scm
mlibc/include/ctype.h
mlibc/include/mlibc.h
mlibc/libc-gcc.c
mlibc/libc-mes+tcc.c
mlibc/libc-mes.c
scaffold/tests/7j-strtoull.c [new file with mode: 0644]