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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/chromium/src/third_party/libevent/strlcpy-internal.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +#ifndef _STRLCPY_INTERNAL_H_
     1.5 +#define _STRLCPY_INTERNAL_H_
     1.6 +
     1.7 +#ifdef __cplusplus
     1.8 +extern "C" {
     1.9 +#endif
    1.10 +
    1.11 +#include "event2/event-config.h"
    1.12 +
    1.13 +#ifndef _EVENT_HAVE_STRLCPY
    1.14 +#include <string.h>
    1.15 +size_t _event_strlcpy(char *dst, const char *src, size_t siz);
    1.16 +#define strlcpy _event_strlcpy
    1.17 +#endif
    1.18 +
    1.19 +#ifdef __cplusplus
    1.20 +}
    1.21 +#endif
    1.22 +
    1.23 +#endif
    1.24 +

mercurial