mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-13 16:04:43 +12:00
readability change request in review
https://github.com/aristocratos/btop/pull/92#discussion_r730321422
This commit is contained in:
parent
ac1b6aab47
commit
816270750d
|
@ -27,7 +27,7 @@ tab-size = 4
|
|||
#include <ifaddrs.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#if !defined(STATIC_BUILD) || !defined(__GLIBC__)
|
||||
#if !(defined(STATIC_BUILD) && defined(__GLIBC__))
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
|
||||
|
@ -1437,7 +1437,7 @@ namespace Proc {
|
|||
new_proc.user = uid_user.at(uid);
|
||||
}
|
||||
else {
|
||||
#if !defined(STATIC_BUILD) || !defined(__GLIBC__)
|
||||
#if !(defined(STATIC_BUILD) && defined(__GLIBC__))
|
||||
try {
|
||||
struct passwd* udet;
|
||||
udet = getpwuid(stoi(uid));
|
||||
|
|
Loading…
Reference in a new issue