diff options
Diffstat (limited to 'sysdeps/i386/i686/multiarch/wcslen.c')
-rw-r--r-- | sysdeps/i386/i686/multiarch/wcslen.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/i386/i686/multiarch/wcslen.c b/sysdeps/i386/i686/multiarch/wcslen.c index 9f1b238a44..bc2a6e5047 100644 --- a/sysdeps/i386/i686/multiarch/wcslen.c +++ b/sysdeps/i386/i686/multiarch/wcslen.c @@ -17,15 +17,17 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#include <wchar.h> + /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define __wcslen __redirect_wcslen -# include <wchar.h> -# undef __wcslen + +extern typeof (__wcslen) __redirect_wcslen; # define SYMBOL_NAME wcslen # include "ifunc-sse2.h" libc_ifunc_redirected (__redirect_wcslen, __wcslen, IFUNC_SELECTOR ()); -weak_alias (__wcslen, wcslen); +libc_hidden_def (__wcslen) +weak_alias (__wcslen, wcslen) #endif |