include/SDL_stdinc.h
changeset 1901 f1828a500391
parent 1895 c121d94672cb
child 1903 f132024010be
--- a/include/SDL_stdinc.h	Wed Jul 12 09:25:17 2006 +0000
+++ b/include/SDL_stdinc.h	Thu Jul 13 08:13:02 2006 +0000
@@ -413,6 +413,12 @@
 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string);
 #endif
 
+#ifdef HAVE_WCSLEN
+#define SDL_wcslen      wcslen
+#else
+extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *string);
+#endif
+
 #ifdef HAVE_STRLCPY
 #define SDL_strlcpy     strlcpy
 #else