X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fqsort.c;h=51edf4b2aa407b8b5995ef9e6daa42e55c308821;hb=adeaf5c0daef34ce609a3a779a81884c838ab934;hp=3e349fb683179a2adbe9553c24a447256d1dede5;hpb=9a77499d5947c498be4f3981b87eff510602d0f9;p=pdclib diff --git a/functions/stdlib/qsort.c b/functions/stdlib/qsort.c index 3e349fb..51edf4b 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) && (__BSD_VISIBLE || __APPLE__) puts( "qsort.c: Skipping test #4 for BSD as it goes into endless loop here." ); #else qsort( s, 100, 0, compare );