include/SDL_stdinc.h
changeset 4763 518d1679d2d0
parent 4729 1f7ad083fd3c
parent 4761 bb2e32f5a556
child 4870 d275c95ddc05
     1.1 --- a/include/SDL_stdinc.h	Sun Aug 22 12:35:34 2010 -0700
     1.2 +++ b/include/SDL_stdinc.h	Sun Aug 22 12:39:27 2010 -0700
     1.3 @@ -472,6 +472,19 @@
     1.4  extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t * string);
     1.5  #endif
     1.6  
     1.7 +#ifdef HAVE_WCSLCPY
     1.8 +#define SDL_wcslcpy      wcslcpy
     1.9 +#else
    1.10 +extern DECLSPEC size_t SDLCALL SDL_wcslcpy(wchar_t *dst, const wchar_t *src, size_t maxlen);
    1.11 +#endif
    1.12 +
    1.13 +#ifdef HAVE_WCSLCAT
    1.14 +#define SDL_wcslcat      wcslcat
    1.15 +#else
    1.16 +extern DECLSPEC size_t SDLCALL SDL_wcslcat(wchar_t *dst, const wchar_t *src, size_t maxlen);
    1.17 +#endif
    1.18 +
    1.19 +
    1.20  #ifdef HAVE_STRLCPY
    1.21  #define SDL_strlcpy     strlcpy
    1.22  #else
    1.23 @@ -479,6 +492,9 @@
    1.24                                             size_t maxlen);
    1.25  #endif
    1.26  
    1.27 +extern DECLSPEC size_t SDLCALL SDL_utf8strlcpy(char *dst, const char *src,
    1.28 +                                            size_t dst_bytes);
    1.29 +
    1.30  #ifdef HAVE_STRLCAT
    1.31  #define SDL_strlcat    strlcat
    1.32  #else