On Wed, Jul 1, 2015 at 12:07 PM, Uros Bizjak <ubiz...@gmail.com> wrote:
> This patch avoids "enum conversion when passing argument 1 of > ‘getrusage’ is invalid in C++" warning when compiling getruntime.c. > The condition is copied from sys/resource.h. > > 2015-07-01 Uros Bizjak <ubiz...@gmail.com> > > * getruntime.c (get_run_time) [__USE_GNU]: Use RUSAGE_SELF as > argument 1 of getrusage call. > > Bootstrapped on x86_64-linux-gnu. > > OK for mainline? I went ahead and committed the patch to mainline as obvious. Uros.