From 244ab111b5abec12bb584e90a95139daa06fbae3 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Thu, 17 Nov 2005 02:25:33 +0000 Subject: Copy from trunk. --- libc/string/wcscmp.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libc/string/wcscmp.c (limited to 'libc/string') diff --git a/libc/string/wcscmp.c b/libc/string/wcscmp.c new file mode 100644 index 000000000..5501a4dac --- /dev/null +++ b/libc/string/wcscmp.c @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2000-2005 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_strcmp +#define WANT_WIDE +#define Wstrcmp __wcscmp + +#include "wstring.c" + +strong_alias(__wcscmp, wcscmp) + +#ifdef __LOCALE_C_ONLY +weak_alias(__wcscmp, __wcscoll) +strong_alias(__wcscoll, wcscoll) +#endif + +#undef L_strcmp -- cgit v1.2.3