strtoumax.c 216 B

12345678910111213
  1. /*
  2. * Work around lack of strtoumax in older MSVC libraries.
  3. */
  4. #include <stdlib.h>
  5. #include "defs.h"
  6. uintmax_t strtoumax(const char *nptr, char **endptr, int base)
  7. {
  8. return _strtoui64(nptr, endptr, base);
  9. }