comparison include/SDL_stdinc.h @ 1901:f1828a500391

Removed libc dependency on Windows again, to fix building with Visual C++ 2005 Express Edition. Fixed performance problem with testsprite2 on the D3D driver.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 13 Jul 2006 08:13:02 +0000
parents c121d94672cb
children f132024010be
comparison
equal deleted inserted replaced
1900:5c6bdbf3aadf 1901:f1828a500391
411 #define SDL_strlen strlen 411 #define SDL_strlen strlen
412 #else 412 #else
413 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string); 413 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string);
414 #endif 414 #endif
415 415
416 #ifdef HAVE_WCSLEN
417 #define SDL_wcslen wcslen
418 #else
419 extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *string);
420 #endif
421
416 #ifdef HAVE_STRLCPY 422 #ifdef HAVE_STRLCPY
417 #define SDL_strlcpy strlcpy 423 #define SDL_strlcpy strlcpy
418 #else 424 #else
419 extern DECLSPEC size_t SDLCALL SDL_strlcpy(char *dst, const char *src, 425 extern DECLSPEC size_t SDLCALL SDL_strlcpy(char *dst, const char *src,
420 size_t maxlen); 426 size_t maxlen);