diff options
Diffstat (limited to 'libs/libevent/src/strlcpy-internal.h')
-rw-r--r-- | libs/libevent/src/strlcpy-internal.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libs/libevent/src/strlcpy-internal.h b/libs/libevent/src/strlcpy-internal.h new file mode 100644 index 0000000000..cfc27ec662 --- /dev/null +++ b/libs/libevent/src/strlcpy-internal.h @@ -0,0 +1,22 @@ +#ifndef STRLCPY_INTERNAL_H_INCLUDED_ +#define STRLCPY_INTERNAL_H_INCLUDED_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "event2/event-config.h" +#include "evconfig-private.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 + |