compile sstrsep only if HAVE_FORK is defined; patch supplied by Johan Gill <johane@lysator.liu.se>

This commit is contained in:
Nils Larsch 2005-11-02 22:13:43 +00:00
parent 998ac55e19
commit d86b0f1f5f

View File

@ -2522,6 +2522,7 @@ static void print_result(int alg,int run_no,int count,double time_used)
results[alg][run_no]=((double)count)/time_used*lengths[run_no]; results[alg][run_no]=((double)count)/time_used*lengths[run_no];
} }
#ifdef HAVE_FORK
static char *sstrsep(char **string, const char *delim) static char *sstrsep(char **string, const char *delim)
{ {
char isdelim[256]; char isdelim[256];
@ -2553,7 +2554,6 @@ static char *sstrsep(char **string, const char *delim)
return token; return token;
} }
#ifdef HAVE_FORK
static int do_multi(int multi) static int do_multi(int multi)
{ {
int n; int n;