about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/wcscmp-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/wcscmp-i386.c')
-rw-r--r--sysdeps/i386/multiarch/wcscmp-i386.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/wcscmp-i386.c b/sysdeps/i386/multiarch/wcscmp-i386.c
new file mode 100644
index 0000000000..538a8237af
--- /dev/null
+++ b/sysdeps/i386/multiarch/wcscmp-i386.c
@@ -0,0 +1,14 @@
+#include <wchar.h>
+
+#define WCSCMP __wcscmp_i386
+#ifdef SHARED
+# undef libc_hidden_def
+# define libc_hidden_def(name) \
+  __hidden_ver1 (__wcscmp_i386, __GI___wcscmp, __wcscmp_i386);
+#endif
+#undef weak_alias
+#define weak_alias(name, alias)
+
+extern __typeof (wcscmp) __wcscmp_i386;
+
+#include "wcsmbs/wcscmp.c"