forked from enlightenment/efl
Elm_Config: fix compilation when getuid() or geteuid() are not available
@fix
This commit is contained in:
parent
a1662717c5
commit
326c7eee33
|
@ -571,8 +571,9 @@ _elm_config_user_dir_snprintf(char *dst,
|
|||
#endif
|
||||
}
|
||||
}
|
||||
#if !defined(HAVE_GETUID) || !defined(HAVE_GETEUID)
|
||||
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
|
||||
else
|
||||
#else
|
||||
{
|
||||
# if HAVE_GETPWENT
|
||||
struct passwd *pw = getpwent();
|
||||
|
|
Loading…
Reference in New Issue