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