|
Packit Service |
f4bfdb |
/* wcsncmp variant information on S/390 version.
|
|
Packit Service |
f4bfdb |
Copyright (C) 2018 Free Software Foundation, Inc.
|
|
Packit Service |
f4bfdb |
This file is part of the GNU C Library.
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
f4bfdb |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
f4bfdb |
License as published by the Free Software Foundation; either
|
|
Packit Service |
f4bfdb |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
f4bfdb |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
f4bfdb |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
f4bfdb |
Lesser General Public License for more details.
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
f4bfdb |
License along with the GNU C Library; if not, see
|
|
Packit Service |
f4bfdb |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
#if defined USE_MULTIARCH && IS_IN (libc) \
|
|
Packit Service |
f4bfdb |
&& ! defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_IFUNC 1
|
|
Packit Service |
f4bfdb |
#else
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_IFUNC 0
|
|
Packit Service |
f4bfdb |
#endif
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
#ifdef HAVE_S390_VX_ASM_SUPPORT
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_IFUNC_AND_VX_SUPPORT HAVE_WCSNCMP_IFUNC
|
|
Packit Service |
f4bfdb |
#else
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_IFUNC_AND_VX_SUPPORT 0
|
|
Packit Service |
f4bfdb |
#endif
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
#if defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
|
|
Packit Service |
f4bfdb |
# define WCSNCMP_DEFAULT WCSNCMP_Z13
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_C 0
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_Z13 1
|
|
Packit Service |
f4bfdb |
#else
|
|
Packit Service |
f4bfdb |
# define WCSNCMP_DEFAULT WCSNCMP_C
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_C 1
|
|
Packit Service |
f4bfdb |
# define HAVE_WCSNCMP_Z13 HAVE_WCSNCMP_IFUNC_AND_VX_SUPPORT
|
|
Packit Service |
f4bfdb |
#endif
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
#if HAVE_WCSNCMP_C
|
|
Packit Service |
f4bfdb |
# define WCSNCMP_C __wcsncmp_c
|
|
Packit Service |
f4bfdb |
#else
|
|
Packit Service |
f4bfdb |
# define WCSNCMP_C NULL
|
|
Packit Service |
f4bfdb |
#endif
|
|
Packit Service |
f4bfdb |
|
|
Packit Service |
f4bfdb |
#if HAVE_WCSNCMP_Z13
|
|
Packit Service |
f4bfdb |
# define WCSNCMP_Z13 __wcsncmp_vx
|
|
Packit Service |
f4bfdb |
#else
|
|
Packit Service |
f4bfdb |
# define WCSNCMP_Z13 NULL
|
|
Packit Service |
f4bfdb |
#endif
|