On 18 October 2013 03:27, Tom Tromey wrote:
>> "Andrew" == Andrew writes:
>
> Andrew> +#ifdef HAVE_UNISTD_H
> Andrew> + procs = sysconf(_SC_NPROCESSORS_ONLN);
> Andrew> +#endif
>
> Space before the "(".
>
> Technically you should probably check for sysconf in configure.ac.
> I'm not sure wh
> "Andrew" == Andrew writes:
Andrew> +#ifdef HAVE_UNISTD_H
Andrew> + procs = sysconf(_SC_NPROCESSORS_ONLN);
Andrew> +#endif
Space before the "(".
Technically you should probably check for sysconf in configure.ac.
I'm not sure whether it matters any more.
I think _SC_NPROCESSORS_ONLN is n