about summary refs log tree commit diff
path: root/wcsmbs/wcscat.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcscat.c')
-rw-r--r--wcsmbs/wcscat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wcsmbs/wcscat.c b/wcsmbs/wcscat.c
index b9936135df..b0f0873cf4 100644
--- a/wcsmbs/wcscat.c
+++ b/wcsmbs/wcscat.c
@@ -18,6 +18,9 @@
 
 #include <wchar.h>
 
+#ifdef WCSCAT
+# define __wcscat WCSCAT
+#endif
 
 /* Append SRC on the end of DEST.  */
 wchar_t *
@@ -47,4 +50,6 @@ __wcscat (dest, src)
 
   return dest;
 }
+#ifndef WCSCAT
 weak_alias (__wcscat, wcscat)
+#endif