You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CF] Implement strlcpy and strlcat once in Prefix.
strlcpy and strlcat implementations are required for:
* LINUX, but not ANDROID nor CYGWIN (since ANDROID and CYGWIN
are both LINUX),
* WIN32.
Instead of implementing strlcpy and strlcat once per TARGET_OS when
required, just write the implementation once and modify the conditional.
This does mean the ifdef conditional is a little complicated, but
overall that is outweighed by the removal of the obvious redundancy
and will eventually improve the handling of TARGET_OS_BSD.
0 commit comments