Commit 6a8796db authored by Uros Bizjak's avatar Uros Bizjak Committed by Pedro Alves
Browse files

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
parent aaae08a7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment