diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-10-31 16:33:17 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-10-31 16:33:17 +0000 |
commit | dc750f2e2552556d058aca8bac0a882290acbc05 (patch) | |
tree | a068555e2e2a31ebe387b7dfb26b0e31262f182d /handy.h | |
parent | 6234cb77344e822f4c34885de4971401d9a78b0b (diff) | |
download | perl-dc750f2e2552556d058aca8bac0a882290acbc05.tar.gz |
The next step in strlcat ()/ strcpy () detection and usage
preparation. Change to handy.h eeded for config_h.SH
p4raw-id: //depot/perl@23450
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -159,6 +159,19 @@ typedef U64TYPE U64; # endif #endif +/* H.Merijn Brand [ 31 Oct 2004 ] + * Not (yet) used at top level, but mention them for metaconfig */ +#ifdef HAS_STRLCAT +# define STRNCAT strlcat +#else +# define STRNCAT strncat +#endif +#ifdef HAS_STRLCPY +# define STRNCPY strlcpy +#else +# define STRNCPY strncpy +#endif + /* Mention I8SIZE, U8SIZE, I16SIZE, U16SIZE, I32SIZE, U32SIZE, I64SIZE, and U64SIZE here so that metaconfig pulls them in. */ |