Blame sysdeps/s390/multiarch/wmemchr.c
|
Packit Service |
6de65a |
/* Multiple versions of wmemchr.
|
|
Packit Service |
6de65a |
Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
|
Packit Service |
6de65a |
This file is part of the GNU C Library.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
6de65a |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
6de65a |
License as published by the Free Software Foundation; either
|
|
Packit Service |
6de65a |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
6de65a |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
6de65a |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
6de65a |
Lesser General Public License for more details.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
6de65a |
License along with the GNU C Library; if not, see
|
|
Packit Service |
6de65a |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
|
|
Packit Service |
6de65a |
# define wmemchr __redirect_wmemchr
|
|
Packit Service |
6de65a |
# define __wmemchr __redirect___wmemchr
|
|
Packit Service |
6de65a |
# include <wchar.h>
|
|
Packit Service |
6de65a |
# undef wmemchr
|
|
Packit Service |
6de65a |
# undef __wmemchr
|
|
Packit Service |
6de65a |
# include <ifunc-resolve.h>
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
s390_vx_libc_ifunc_redirected (__redirect___wmemchr, __wmemchr)
|
|
Packit Service |
6de65a |
weak_alias (__wmemchr, wmemchr)
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
#else
|
|
Packit Service |
6de65a |
# include <wcsmbs/wmemchr.c>
|
|
Packit Service |
6de65a |
#endif /* !(defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)) */
|