1
0
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:
Paolo Insogna 2025-02-21 14:00:33 +01:00
parent 82cdfb75ff
commit 321896cf44

View File

@ -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__) */