diff options
Diffstat (limited to 'strlcpy-internal.h')
-rw-r--r-- | strlcpy-internal.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/strlcpy-internal.h b/strlcpy-internal.h new file mode 100644 index 00000000..22b5f61d --- /dev/null +++ b/strlcpy-internal.h @@ -0,0 +1,23 @@ +#ifndef _STRLCPY_INTERNAL_H_ +#define _STRLCPY_INTERNAL_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + +#ifndef 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 + |