Update compat/strl.h

This commit is contained in:
twinaphex 2015-03-10 18:49:54 +01:00
parent 21af918cba
commit a179d56b75

View File

@ -37,13 +37,9 @@ extern "C" {
#endif
/* Avoid possible naming collisions during link since
* we prefer to use the actual name. */
#ifndef strlcpy
#define strlcpy(dst, src, size) strlcpy_rarch__(dst, src, size)
#endif
#ifndef strlcat
#define strlcat(dst, src, size) strlcat_rarch__(dst, src, size)
#endif
size_t strlcpy(char *dest, const char *source, size_t size);
size_t strlcat(char *dest, const char *source, size_t size);