include/SDL_stdinc.h
changeset 1456 84de7511f79f
parent 1422 d2ee8da60262
child 1501 73dc5d39bbf8
     1.1 --- a/include/SDL_stdinc.h	Mon Feb 27 22:14:40 2006 +0000
     1.2 +++ b/include/SDL_stdinc.h	Wed Mar 01 09:43:47 2006 +0000
     1.3 @@ -446,6 +446,12 @@
     1.4  extern DECLSPEC long SDLCALL SDL_strtol(const char *string, char **endp, int base);
     1.5  #endif
     1.6  
     1.7 +#if HAVE_STRTOUL
     1.8 +#define SDL_strtoul      strtoul
     1.9 +#else
    1.10 +extern DECLSPEC unsigned long SDLCALL SDL_strtoul(const char *string, char **endp, int base);
    1.11 +#endif
    1.12 +
    1.13  #if SDL_HAS_64BIT_TYPE
    1.14  
    1.15  #if HAVE__I64TOA
    1.16 @@ -466,6 +472,12 @@
    1.17  extern DECLSPEC Sint64 SDLCALL SDL_strtoll(const char *string, char **endp, int base);
    1.18  #endif
    1.19  
    1.20 +#if HAVE_STRTOULL
    1.21 +#define SDL_strtoull     strtoull
    1.22 +#else
    1.23 +extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *string, char **endp, int base);
    1.24 +#endif
    1.25 +
    1.26  #endif /* SDL_HAS_64BIT_TYPE */
    1.27  
    1.28  #if HAVE_STRTOD