mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Don't bake in strlcpy/strlcat for OSX
This commit is contained in:
parent
c11f06e584
commit
9a1fed8598
@ -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…
x
Reference in New Issue
Block a user