mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-14 23:08:00 +02:00
build: Conditionalize wcslcpy() and wcslcat() functions on macOS
These functions are provided by the system libc.
This commit is contained in:
@@ -50,8 +50,10 @@
|
||||
__BEGIN_DECLS
|
||||
wchar_t *fgetwln(FILE *stream, size_t *len);
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t size);
|
||||
size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t size);
|
||||
#endif
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user