aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wcsncat.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcsncat.c')
-rw-r--r--wcsmbs/wcsncat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wcsmbs/wcsncat.c b/wcsmbs/wcsncat.c
index 63eb126..78fe765 100644
--- a/wcsmbs/wcsncat.c
+++ b/wcsmbs/wcsncat.c
@@ -18,10 +18,13 @@
#include <wchar.h>
+#ifndef WCSNCAT
+# define WCSNCAT wcsncat
+#endif
/* Append no more than N wide-character of SRC onto DEST. */
wchar_t *
-wcsncat (dest, src, n)
+WCSNCAT (dest, src, n)
wchar_t *dest;
const wchar_t *src;
size_t n;