Avoid test failures on Solaris 10.
[pspp] / tests / uniconv / test-u32-conv-from-enc.c
index 8f709f18c5ba391950999a9de2097802e4dd958a..346408413e9c406176b4313e2f0aaffb922c716f 100644 (file)
@@ -129,7 +129,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-16.  */
   for (h = 0; h < SIZEOF (handlers); h++)
     {