summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2004-10-31 16:33:17 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-10-31 16:33:17 +0000
commitdc750f2e2552556d058aca8bac0a882290acbc05 (patch)
treea068555e2e2a31ebe387b7dfb26b0e31262f182d /handy.h
parent6234cb77344e822f4c34885de4971401d9a78b0b (diff)
downloadperl-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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index e5c7c45c93..904b67c575 100644
--- a/handy.h
+++ b/handy.h
@@ -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. */