mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
unix: enable getrusage for SunOS
This commit is contained in:
parent
82cdfb75ff
commit
321896cf44
@ -1078,6 +1078,8 @@ int uv_getrusage_thread(uv_rusage_t* rusage) {
|
||||
|
||||
return 0;
|
||||
|
||||
#elif defined(RUSAGE_LWP)
|
||||
return uv__getrusage(RUSAGE_LWP, rusage);
|
||||
#elif defined(RUSAGE_THREAD)
|
||||
return uv__getrusage(RUSAGE_THREAD, rusage);
|
||||
#endif /* defined(__APPLE__) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user