diff --git a/libsrc/common/Makefile b/libsrc/common/Makefile index 0ef066888..48e0bffc1 100644 --- a/libsrc/common/Makefile +++ b/libsrc/common/Makefile @@ -72,9 +72,11 @@ C_OBJS = _afailed.o \ rewind.o \ sleep.o \ strftime.o \ + strtoimax.o \ strtok.o \ strtol.o \ strtoul.o \ + strtoumax.o \ strxfrm.o \ system.o \ timezone.o diff --git a/libsrc/common/strtoimax.s b/libsrc/common/strtoimax.s new file mode 100644 index 000000000..10c0d428c --- /dev/null +++ b/libsrc/common/strtoimax.s @@ -0,0 +1,9 @@ +; +; Ullrich von Bassewitz, 2009-09-17 +; +; intmax_t __fastcall__ strtoimax (const char* nptr, char** endptr, int base); +; + + .import _strtol + .export _strtoimax = _strtol + diff --git a/libsrc/common/strtoumax.s b/libsrc/common/strtoumax.s new file mode 100644 index 000000000..c59d51c3c --- /dev/null +++ b/libsrc/common/strtoumax.s @@ -0,0 +1,9 @@ +; +; Ullrich von Bassewitz, 2009-09-17 +; +; uintmax_t __fastcall__ strtoumax (const char* nptr, char** endptr, int base); +; + + .import _strtoul + .export _strtoumax = _strtoul +