Austin Schuh | a273376 | 2015-09-06 17:46:50 -0700 | [diff] [blame] | 1 | #ifndef _STRLCPY_INTERNAL_H_ |
2 | #define _STRLCPY_INTERNAL_H_ | ||||
3 | |||||
4 | #ifdef __cplusplus | ||||
5 | extern "C" { | ||||
6 | #endif | ||||
7 | |||||
8 | #include "event2/event-config.h" | ||||
9 | |||||
10 | #ifndef _EVENT_HAVE_STRLCPY | ||||
11 | #include <string.h> | ||||
12 | size_t _event_strlcpy(char *dst, const char *src, size_t siz); | ||||
13 | #define strlcpy _event_strlcpy | ||||
14 | #endif | ||||
15 | |||||
16 | #ifdef __cplusplus | ||||
17 | } | ||||
18 | #endif | ||||
19 | |||||
20 | #endif | ||||
21 |