aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getruntime.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-05Sync libiberty from gccAlan Modra1-1/+1
Picks up copyright year update and other recent fixes.
2015-11-28Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in ↵Uros Bizjak1-4/+4
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
2015-11-28Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in ↵Uros Bizjak1-0/+4
C++" warning * getruntime.c (get_run_time) [__USE_GNU]: Use RUSAGE_SELF as argument 1 of getrusage call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225534 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-2/+2
2005-03-28merge from gccDJ Delorie1-1/+1
2002-05-07merge from gccDJ Delorie1-1/+5
2001-10-17merge from gccDJ Delorie1-1/+1
2001-10-16merge from gccDJ Delorie1-0/+12
2000-07-23 * configure.in (AC_CHECK_HEADERS): Add time.h.Jeff Law1-2/+12
(AC_HEADER_TIME): Add check. * configure, config.in: Regenerate. * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1999-05-06 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.Richard Henderson1-2/+2
* getruntime.c: Only attempt to include sys/resource.h and use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H are defined.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+90