src/stdlib/SDL_string.c
changeset 1343 d5c4f8f6855e
parent 1341 d02b552e5304
child 1354 22f39393668a
equal deleted inserted replaced
1342:d73be99e9420 1343:d5c4f8f6855e
    70     }
    70     }
    71     return (text - textstart);
    71     return (text - textstart);
    72 }
    72 }
    73 #endif
    73 #endif
    74 
    74 
    75 #ifndef HAVE_SSCANF
    75 #if !defined(HAVE_SSCANF) || !defined(HAVE_STRTOD)
    76 static size_t SDL_ScanUnsignedLong(const char *text, int radix, unsigned long *valuep)
    76 static size_t SDL_ScanUnsignedLong(const char *text, int radix, unsigned long *valuep)
    77 {
    77 {
    78     const char *textstart = text;
    78     const char *textstart = text;
    79     unsigned long value = 0;
    79     unsigned long value = 0;
    80 
    80