mirror of
https://github.com/libevent/libevent.git
synced 2025-01-20 05:02:55 +08:00
8889a77039
svn:r1064
24 lines
361 B
C
24 lines
361 B
C
#ifndef _STRLCPY_INTERNAL_H_
|
|
#define _STRLCPY_INTERNAL_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "event-config.h"
|
|
#endif /* HAVE_CONFIG_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
|
|
|