mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-14 15:12:31 -05:00
22 lines
313 B
C
22 lines
313 B
C
|
#ifndef _STRLCPY_INTERNAL_H_
|
||
|
#define _STRLCPY_INTERNAL_H_
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#include <event-config.h>
|
||
|
|
||
|
#ifndef _EVENT_HAVE_STRLCPY
|
||
|
#include <string.h>
|
||
|
size_t _event_strlcpy(char *dst, const char *src, size_t siz);
|
||
|
#define strlcpy _event_strlcpy
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|