Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++"...
authorUros Bizjak <ubizjak@gmail.com>
Sat, 28 Nov 2015 16:39:29 +0000 (16:39 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 28 Nov 2015 16:39:29 +0000 (16:39 +0000)
commit6a8796db3691b9a53dc5475eaec5388bc1af115d
tree67476931f2acc55a879ab141ce328e026d66d96b
parentaaae08a7e4ac526975403ebb5f93b7f24ea16b90
Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning

* getruntime.c (RUSAGE_SELF): Define if not already defined.
(get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225614 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/getruntime.c
This page took 0.024336 seconds and 4 git commands to generate.