summaryrefslogtreecommitdiff
path: root/strlcpy-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'strlcpy-internal.h')
-rw-r--r--strlcpy-internal.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/strlcpy-internal.h b/strlcpy-internal.h
index 1968c003..cfc27ec6 100644
--- a/strlcpy-internal.h
+++ b/strlcpy-internal.h
@@ -1,16 +1,17 @@
-#ifndef _STRLCPY_INTERNAL_H_
-#define _STRLCPY_INTERNAL_H_
+#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
+#ifndef EVENT__HAVE_STRLCPY
#include <string.h>
-size_t _event_strlcpy(char *dst, const char *src, size_t siz);
-#define strlcpy _event_strlcpy
+size_t event_strlcpy_(char *dst, const char *src, size_t siz);
+#define strlcpy event_strlcpy_
#endif
#ifdef __cplusplus