2025-09-10 Bruno Haible <bruno@clisp.org>
+ tests: Remove support for IRIX.
+ * tests/minus-zero.h (compute_minus_zerof, compute_minus_zerod,
+ compute_minus_zerol): Remove code for IRIX.
+ * tests/test-c32isgraph.c (main): Likewise.
+ * tests/test-c32isprint.c (main): Likewise.
+ * tests/test-getaddrinfo.c (simple): Likewise.
+ * tests/test-isgraph_l.c (main): Likewise.
+ * tests/test-isprint_l.c (main): Likewise.
+ * tests/test-localeconv-mt.c (ENCODING): Likewise.
+ * tests/test-nl_langinfo-mt.c (ENCODING): Likewise.
+ * tests/test-setlocale_null-mt-all.c (ENCODING): Likewise.
+ * tests/test-setlocale_null-mt-one.c (ENCODING): Likewise.
+ * tests/test-sethostname1.c: Likewise.
+ * tests/test-striconveha.c (main): Likewise.
+ * tests/uniconv/test-u8-conv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u16-conv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u32-conv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise.
+ * tests/test-frexpl.c (MIN_NORMAL_EXP): Likewise.
+ * tests/test-ilogbl.c (MIN_NORMAL_EXP): Likewise.
+ * tests/test-logbl.c (MIN_NORMAL_EXP): Likewise.
+ * tests/test-printf-frexpl.c (MIN_NORMAL_EXP, MIN_SUBNORMAL_EXP):
+ Likewise.
+ * tests/test-fma2.h (MIN_SUBNORMAL_EXP): Remove macro.
+ (test_function): Inline its value.
+ * tests/test-lseek.c (main): Update comments.
+ * tests/test-sigabbrev_np.c (main): Remove cases for SIGCKPT, SIGPTINTR,
+ SIGPTRESCHED, SIGRESTART, SIGUME.
+ * tests/test-sigdescr_np.c (main): Likewise.
+ * modules/math-h-c++-tests (Makefile.am): Don't link test-math-h-c++
+ with extra libraries.
+
relocatable-prog: Remove support for IRIX.
* build-aux/config.libpath: Remove code for IRIX.
TESTS += test-math-h-c++
check_PROGRAMS += test-math-h-c++
test_math_h_c___SOURCES = test-math-h-c++.cc test-math-h-c++2.cc
-# These link dependencies are needed on IRIX 6.5 with cc.
-test_math_h_c___LDADD = $(LDADD) $(COPYSIGNL_LIBM) $(RINT_LIBM) $(RINTL_LIBM)
endif
ICC 10.0 has a bug when optimizing the expression -zero.
The expression -FLT_MIN * FLT_MIN does not work when cross-compiling
to PowerPC on Mac OS X 10.5. */
-#if defined __hpux || defined __sgi || defined __ICC
+#if defined __hpux || defined __ICC
static float
compute_minus_zerof (void)
{
ICC 10.0 has a bug when optimizing the expression -zero.
The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
to PowerPC on Mac OS X 10.5. */
-#if defined __hpux || defined __sgi || defined __ICC
+#if defined __hpux || defined __ICC
static double
compute_minus_zerod (void)
{
/* minus_zerol represents the value -0.0L. */
/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0L.
- IRIX cc can't put -0.0L into .data, but can compute at runtime.
ICC 10.0 has a bug when optimizing the expression -zero.
The expression -LDBL_MIN * LDBL_MIN does not work when cross-compiling
to PowerPC on Mac OS X 10.5. */
-#if defined __hpux || defined __sgi || defined __ICC
+#if defined __hpux || defined __ICC
static long double
compute_minus_zerol (void)
{
/* U+007F <control> */
is = for_character ("\177", 1);
ASSERT (is == 0);
- #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
/* U+00A0 NO-BREAK SPACE */
is = for_character ("\240", 1);
ASSERT (is != 0);
/* U+007F <control> */
is = for_character ("\177", 1);
ASSERT (is == 0);
- #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sgi || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || (defined _WIN32 && !defined __CYGWIN__))
/* U+00A0 NO-BREAK SPACE */
is = for_character ("\240", 1);
ASSERT (is != 0);
#define YE_RANGE 0
/* Define to 1 if you want to allow the behaviour of the 'double-double'
- implementation of 'long double' (seen on IRIX 6.5 and Linux/PowerPC).
+ implementation of 'long double' (seen on Linux/PowerPC).
This floating-point type does not follow IEEE 754. */
#if MANT_BIT == LDBL_MANT_BIT && LDBL_MANT_BIT == 2 * DBL_MANT_BIT
# define FORGIVE_DOUBLEDOUBLE_BUG 1
# define FORGIVE_DOUBLEDOUBLE_BUG 0
#endif
-/* Subnormal numbers appear to not work as expected on IRIX 6.5. */
-#ifdef __sgi
-# define MIN_SUBNORMAL_EXP (MIN_EXP - 1)
-#else
-# define MIN_SUBNORMAL_EXP (MIN_EXP - MANT_BIT)
-#endif
-
/* Check rounding behaviour. */
static void
(-1)^(xs+ys) * (2^(xe+ye) + 2^(xe+ye-i+1) + 2^(xe+ye-2*i)) */
/* Test addition (same signs). */
- for (ze = MIN_SUBNORMAL_EXP; ze <= MAX_EXP - 1;)
+ for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;)
{
z = sign * POW2 (ze); /* (-1)^(xs+ys) * 2^ze */
result = my_fma (x, y, z);
/* Test subtraction (opposite signs). */
if (i > 1)
- for (ze = MIN_SUBNORMAL_EXP; ze <= MAX_EXP - 1;)
+ for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;)
{
z = - sign * POW2 (ze); /* (-1)^(xs+ys+1) * 2^ze */
result = my_fma (x, y, z);
/* Test subtraction (opposite signs). */
if (i > 1)
- for (ze = MIN_SUBNORMAL_EXP; ze <= MAX_EXP - 1;)
+ for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;)
{
z = - sign * POW2 (ze); /* (-1)^(xs+ys+1) * 2^ze */
result = my_fma (x, y, z);
#define MINUS_ZERO minus_zerol
#define MAX_EXP LDBL_MAX_EXP
#define MIN_EXP LDBL_MIN_EXP
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
- exponent for 'long double' is -964. Similarly, on PowerPC machines,
- LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
- is -968. For exponents below that, the precision may be truncated to the
- precision used for 'double'. */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+ exponent for 'long double' is -968. For exponents below that, the precision
+ may be truncated to the precision used for 'double'. */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
#else
# define MIN_NORMAL_EXP LDBL_MIN_EXP
fprintf (stderr, "skipping getaddrinfo test: no network?\n");
return 77;
}
- /* IRIX reports EAI_NONAME for "https". Don't fail the test
- merely because of this. */
- if (res == EAI_NONAME)
- return 0;
/* Solaris reports EAI_SERVICE for "http" and "https". Don't
fail the test merely because of this. */
if (res == EAI_SERVICE)
#define MINUS_ZERO minus_zerol
#define MAX_EXP LDBL_MAX_EXP
#define MIN_EXP LDBL_MIN_EXP
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
- exponent for 'long double' is -964. Similarly, on PowerPC machines,
- LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
- is -968. For exponents below that, the precision may be truncated to the
- precision used for 'double'. */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+ exponent for 'long double' is -968. For exponents below that, the precision
+ may be truncated to the precision used for 'double'. */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
#else
# define MIN_NORMAL_EXP LDBL_MIN_EXP
/* U+007F <control> */
is = isgraph_l ((unsigned char) '\177', locale);
ASSERT (is == 0);
- #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
/* U+00A0 NO-BREAK SPACE */
is = isgraph_l ((unsigned char) '\240', locale);
ASSERT (is != 0);
/* U+007F <control> */
is = isprint_l ((unsigned char) '\177', locale);
ASSERT (is == 0);
- #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sgi || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || (defined _WIN32 && !defined __CYGWIN__))
/* U+00A0 NO-BREAK SPACE */
is = isprint_l ((unsigned char) '\240', locale);
ASSERT (is != 0);
# define ENGLISH "en_US"
# define FRENCH "fr_FR"
# define GERMAN "de_DE"
-# if defined __sgi
-# define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
# define ENCODING ".utf8"
# else
# define ENCODING ".UTF-8"
#define MINUS_ZERO minus_zerol
#define MAX_EXP LDBL_MAX_EXP
#define MIN_EXP LDBL_MIN_EXP
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
- exponent for 'long double' is -964. Similarly, on PowerPC machines,
- LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
- is -968. For exponents below that, the precision may be truncated to the
- precision used for 'double'. */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+ exponent for 'long double' is -968. For exponents below that, the precision
+ may be truncated to the precision used for 'double'. */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
#else
# define MIN_NORMAL_EXP LDBL_MIN_EXP
the current offset. But BeOS sets it to 0. */
ASSERT (lseek (0, (off_t)0, SEEK_CUR) == 2);
#endif
-#if 0 /* leads to SIGSYS on IRIX 6.5 */
+#if 0 /* unportable test */
ASSERT (lseek (0, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1);
ASSERT (errno == EINVAL);
#endif
the current offset. But BeOS sets it to 0. */
ASSERT (lseek (1, (off_t)0, SEEK_CUR) == 2);
#endif
-#if 0 /* leads to SIGSYS on IRIX 6.5 */
+#if 0 /* unportable test */
ASSERT (lseek (1, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1);
ASSERT (errno == EINVAL);
#endif
# define ENGLISH "en_US"
# define FRENCH "fr_FR"
# define GERMAN "de_DE"
-# if defined __sgi
-# define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
# define ENCODING ".utf8"
# else
# define ENCODING ".UTF-8"
#include "fpucw.h"
#include "macros.h"
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
- exponent for 'long double' is -964. Similarly, on PowerPC machines,
- LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
- is -968. For exponents below that, the precision may be truncated to the
- precision used for 'double'. */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-# define MIN_SUBNORMAL_EXP MIN_NORMAL_EXP
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+ exponent for 'long double' is -968. For exponents below that, the precision
+ may be truncated to the precision used for 'double'. */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
# define MIN_SUBNORMAL_EXP MIN_NORMAL_EXP
#else
#include <unistd.h>
#include "signature.h"
-#if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __sgi || defined __sun)
+#if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __sun)
SIGNATURE_CHECK (sethostname, int, (const char *, size_t));
#endif
# define ENGLISH "en_US"
# define GERMAN "de_DE"
# define FRENCH "fr_FR"
-# if defined __sgi
-# define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
# define ENCODING ".utf8"
# else
# define ENCODING ".UTF-8"
OpenBSD crash < 1 sec
AIX crash < 2 sec
HP-UX OK
-IRIX OK
Solaris 10 OK
Solaris 11.0 OK
Solaris 11.4 OK
# define ENGLISH "en_US"
# define GERMAN "de_DE"
# define FRENCH "fr_FR"
-# if defined __sgi
-# define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
# define ENCODING ".utf8"
# else
# define ENCODING ".UTF-8"
OpenBSD crash < 1 sec
AIX crash < 2 sec
HP-UX OK
-IRIX OK
Solaris 10 OK
Solaris 11.0 OK
Solaris 11.4 OK
#ifdef SIGBREAK
ASSERT (strcmp (sigabbrev_np (SIGBREAK), "BREAK") == 0);
#endif
- /* IRIX */
- #ifdef SIGCKPT
- ASSERT (strcmp (sigabbrev_np (SIGCKPT), "CKPT") == 0);
- #endif
/* AIX */
#ifdef SIGCPUFAIL
ASSERT (strcmp (sigabbrev_np (SIGCPUFAIL), "CPUFAIL") == 0);
#ifdef SIGDANGER
ASSERT (strcmp (sigabbrev_np (SIGDANGER), "DANGER") == 0);
#endif
- /* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, mingw */
+ /* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, mingw */
#ifdef SIGEMT
ASSERT (strcmp (sigabbrev_np (SIGEMT), "EMT") == 0);
#endif
#ifdef SIGPRE
ASSERT (strcmp (sigabbrev_np (SIGPRE), "PRE") == 0);
#endif
- /* IRIX */
- #ifdef SIGPTINTR
- ASSERT (strcmp (sigabbrev_np (SIGPTINTR), "PTINTR") == 0);
- #endif
- /* IRIX */
- #ifdef SIGPTRESCHED
- ASSERT (strcmp (sigabbrev_np (SIGPTRESCHED), "PTRESCHED") == 0);
- #endif
- /* Linux, NetBSD, Minix, AIX, IRIX, Cygwin */
+ /* Linux, NetBSD, Minix, AIX, Cygwin */
#ifdef SIGPWR
ASSERT (strcmp (sigabbrev_np (SIGPWR), "PWR") == 0);
#endif
#ifdef SIGRECOVERY
ASSERT (strcmp (sigabbrev_np (SIGRECOVERY), "RECOVERY") == 0);
#endif
- /* IRIX */
- #ifdef SIGRESTART
- ASSERT (strcmp (sigabbrev_np (SIGRESTART), "RESTART") == 0);
- #endif
/* AIX */
#ifdef SIGRETRACT
ASSERT (strcmp (sigabbrev_np (SIGRETRACT), "RETRACT") == 0);
#ifdef SIGTHR
ASSERT (strcmp (sigabbrev_np (SIGTHR), "THR") == 0);
#endif
- /* IRIX */
- #ifdef SIGUME
- ASSERT (strcmp (sigabbrev_np (SIGUME), "UME") == 0);
- #endif
/* AIX */
#ifdef SIGVIRT
ASSERT (strcmp (sigabbrev_np (SIGVIRT), "VIRT") == 0);
#ifdef SIGWAITING
ASSERT (strcmp (sigabbrev_np (SIGWAITING), "WAITING") == 0);
#endif
- /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, Haiku */
+ /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, Haiku */
#ifdef SIGWINCH
ASSERT (strcmp (sigabbrev_np (SIGWINCH), "WINCH") == 0);
#endif
#ifdef SIGBREAK
ASSERT (strcmp (sigdescr_np (SIGBREAK), "Ctrl-Break") == 0);
#endif
- /* IRIX */
- #ifdef SIGCKPT
- ASSERT (strcmp (sigdescr_np (SIGCKPT), "Checkpoint") == 0);
- #endif
/* AIX */
#ifdef SIGCPUFAIL
ASSERT (strcmp (sigdescr_np (SIGCPUFAIL), "CPU going down") == 0);
#ifdef SIGDANGER
ASSERT (strcmp (sigdescr_np (SIGDANGER), "Swap space nearly exhausted") == 0);
#endif
- /* glibc, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, mingw */
+ /* glibc, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, mingw */
#ifdef SIGEMT
ASSERT (strcmp (sigdescr_np (SIGEMT), "Instruction emulation needed") == 0
/* This completely unintelligible message is seen in glibc. */
#ifdef SIGPRE
ASSERT (strcmp (sigdescr_np (SIGPRE), "Programmed exception") == 0);
#endif
- /* IRIX */
- #ifdef SIGPTINTR
- ASSERT (strcmp (sigdescr_np (SIGPTINTR), "Pthread interrupt") == 0);
- #endif
- /* IRIX */
- #ifdef SIGPTRESCHED
- ASSERT (strcmp (sigdescr_np (SIGPTRESCHED), "Pthread rescheduling") == 0);
- #endif
- /* Linux, NetBSD, Minix, AIX, IRIX, Cygwin */
+ /* Linux, NetBSD, Minix, AIX, Cygwin */
#ifdef SIGPWR
ASSERT (strcmp (sigdescr_np (SIGPWR), "Power failure") == 0);
#endif
#ifdef SIGRECOVERY
ASSERT (strcmp (sigdescr_np (SIGRECOVERY), "Kernel recovery") == 0);
#endif
- /* IRIX */
- #ifdef SIGRESTART
- ASSERT (strcmp (sigdescr_np (SIGRESTART), "Checkpoint restart") == 0);
- #endif
/* AIX */
#ifdef SIGRETRACT
ASSERT (strcmp (sigdescr_np (SIGRETRACT), "Retracting Keep Alive Poll") == 0);
#ifdef SIGTHR
ASSERT (strcmp (sigdescr_np (SIGTHR), "Thread library interrupt") == 0);
#endif
- /* IRIX */
- #ifdef SIGUME
- ASSERT (strcmp (sigdescr_np (SIGUME), "Uncorrectable memory error") == 0);
- #endif
/* AIX */
#ifdef SIGVIRT
ASSERT (strcmp (sigdescr_np (SIGVIRT), "Virtual time alarm clock") == 0);
#ifdef SIGWAITING
ASSERT (strcmp (sigdescr_np (SIGWAITING), "Thread waiting") == 0);
#endif
- /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, Haiku */
+ /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, Haiku */
#ifdef SIGWINCH
ASSERT (strcmp (sigdescr_np (SIGWINCH), "Window changed") == 0 /* glibc */
|| strcmp (sigdescr_np (SIGWINCH), "Window size changed") == 0);
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */
/* autodetect_jp is only supported when iconv() support ISO-2022-JP-2. */
# if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
- || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+ || !(defined _AIX || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */