mirror of
https://github.com/libretro/libretro-common.git
synced 2024-11-28 02:40:26 +00:00
Update
This commit is contained in:
parent
416898cddd
commit
a179f789aa
@ -29,6 +29,8 @@
|
||||
|
||||
/* Implementation of strlcpy()/strlcat() based on OpenBSD. */
|
||||
|
||||
#ifndef __MACH__
|
||||
|
||||
size_t strlcpy(char *dest, const char *source, size_t size)
|
||||
{
|
||||
size_t src_size = 0;
|
||||
@ -59,3 +61,4 @@ size_t strlcat(char *dest, const char *source, size_t size)
|
||||
|
||||
return len + strlcpy(dest, source, size);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user