[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add the --nice argument to make
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Add the --nice argument to make |
Date: |
Tue, 17 Sep 2019 09:22:30 +0300 |
> Date: Mon, 16 Sep 2019 18:08:23 -0700
> From: Palmer Dabbelt <address@hidden>
> Cc: Palmer Dabbelt <address@hidden>
>
> +#ifdef HAVE_UNISTD_H
> + if (nice(0) == nice(arg_nice))
> +#endif
This is not portable enough, because having unistd.h doesn't yet mean
you have 'nice'. E.g., MinGW, which produces native MS-Windows
programs, does have unistd.h, but no 'nice'.