ipc/chromium/src/third_party/libevent/strlcpy-internal.h

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:c99bd328f205
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

mercurial