Avoid test failures on Solaris 10.
[pspp] / tests / uniconv / test-u8-conv-from-enc.c
index 0768be63506783cd00ef02f96fb2f1c6769cfb3f..ec8703cc0786734c3635e0007ea0ee9507bd1352 100644 (file)
@@ -124,7 +124,7 @@ main ()
     }
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
-# if defined _LIBICONV_VERSION || !(defined _AIX || defined __sgi || defined __hpux || defined __osf__)
+# if defined _LIBICONV_VERSION || !(defined _AIX || defined __sgi || defined __hpux || defined __osf__ || defined __sun)
   /* Test conversions from autodetect_jp to UTF-8.  */
   for (h = 0; h < SIZEOF (handlers); h++)
     {