Elm_Config: fix compilation when getuid() or geteuid() are not available

@fix
This commit is contained in:
Vincent Torri 2015-07-22 16:30:19 +02:00 committed by Tom Hacohen
parent a1662717c5
commit 326c7eee33
1 changed files with 2 additions and 1 deletions

View File

@ -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();