/bitcoin/depends/work/build/x86_64-pc-linux-gnu/libevent/2.1.12-stable-7656baec08e/strlcpy-internal.h
Line | Count | Source |
1 | | #ifndef STRLCPY_INTERNAL_H_INCLUDED_ |
2 | | #define STRLCPY_INTERNAL_H_INCLUDED_ |
3 | | |
4 | | #ifdef __cplusplus |
5 | | extern "C" { |
6 | | #endif |
7 | | |
8 | | #include "event2/event-config.h" |
9 | | #include "event2/visibility.h" |
10 | | #include "evconfig-private.h" |
11 | | |
12 | | #ifndef EVENT__HAVE_STRLCPY |
13 | | #include <string.h> |
14 | | EVENT2_EXPORT_SYMBOL |
15 | | size_t event_strlcpy_(char *dst, const char *src, size_t siz); |
16 | 0 | #define strlcpy event_strlcpy_ |
17 | | #endif |
18 | | |
19 | | #ifdef __cplusplus |
20 | | } |
21 | | #endif |
22 | | |
23 | | #endif |
24 | | |