getruntime.c (RUSAGE_SELF): Define if not already defined.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 9 Jul 2015 15:06:00 +0000 (17:06 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 9 Jul 2015 15:06:00 +0000 (17:06 +0200)
commit9b004cd378134e48c62af86c65d5d8ba4c657d0a
tree070a7dbad3da935d33ec3d7955fd60cfbd4f1e95
parentecba049c4f8d14994044481d5ca83893d3703378
getruntime.c (RUSAGE_SELF): Define if not already defined.

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

From-SVN: r225614
libiberty/ChangeLog
libiberty/getruntime.c