ecore_con: fix build on windows by matching the #if around the if statement.

This commit is contained in:
Cedric BAIL 2014-01-09 14:30:43 +09:00
parent d0a03f65dc
commit 313cd699f2
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ ecore_con_local_connect(Ecore_Con_Server *svr,
snprintf(buf, sizeof(buf), "%s/.ecore/%s/%i", homedir, svr->name,
svr->port);
}
#if !defined(HAVE_GETUID) || defined(HAVE_GETEUID)
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
else
{
struct passwd *pw = getpwent();
@ -236,7 +236,7 @@ ecore_con_local_listen(
}
}
}
#if !defined(HAVE_GETUID) || defined(HAVE_GETEUID)
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
else
{
struct passwd *pw = getpwent();