X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fqsort.c;h=582d1f9313acfd8da8240b93f052314460d4a7d6;hb=689f876fb2420ed2ce45aca58dc39f05e1eb5c2d;hp=e26ea863cfa9e9f702236538921281ea7c7ab688;hpb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;p=pdclib 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 );