X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdlib%2Fqsort.c;h=582d1f9313acfd8da8240b93f052314460d4a7d6;hp=e26ea863cfa9e9f702236538921281ea7c7ab688;hb=d7154dc8cd1b7d41d0d956b7310e59d794f1a59f;hpb=da0d02da53b8a309d85ae19e6b9e5ff1cde9c4a5 diff --git a/functions/stdlib/qsort.c b/functions/stdlib/qsort.c index e26ea86..582d1f9 100644 --- a/functions/stdlib/qsort.c +++ b/functions/stdlib/qsort.c @@ -154,7 +154,7 @@ int main( void ) strcpy( s, presort ); qsort( s, 1, 1, compare ); TESTCASE( strcmp( s, presort ) == 0 ); -#if __BSD_VISIBLE +#if defined( REGTEST ) && ( defined( __BSD_VISIBLE ) || defined( __APPLE__ ) ) puts( "qsort.c: Skipping test #4 for BSD as it goes into endless loop here." ); #else qsort( s, 100, 0, compare );