summaryrefslogtreecommitdiff
path: root/libc/string/wmemcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/wmemcmp.c')
-rw-r--r--libc/string/wmemcmp.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/string/wmemcmp.c b/libc/string/wmemcmp.c
new file mode 100644
index 000000000..d9274bf7a
--- /dev/null
+++ b/libc/string/wmemcmp.c
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_memcmp
+#define WANT_WIDE
+#define Wmemcmp __wmemcmp
+
+#include "wstring.c"
+
+strong_alias(__wmemcmp, wmemcmp)
+
+#undef L_memcmp