about summary refs log tree commit diff
path: root/wcsmbs/wcschrnul.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcschrnul.c')
-rw-r--r--wcsmbs/wcschrnul.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wcsmbs/wcschrnul.c b/wcsmbs/wcschrnul.c
index 4bc42d1d84..97ef3b9dfd 100644
--- a/wcsmbs/wcschrnul.c
+++ b/wcsmbs/wcschrnul.c
@@ -17,6 +17,9 @@
 
 #include <wchar.h>
 
+#ifdef WCSCHRNUL
+# define __wcschrnul WCSCHRNUL
+#endif
 
 /* Find the first occurrence of WC in WCS.  */
 wchar_t *
@@ -32,4 +35,6 @@ __wcschrnul (wcs, wc)
 
   return (wchar_t *) wcs;
 }
+#ifndef WCSCHRNUL
 weak_alias (__wcschrnul, wcschrnul)
+#endif