tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=7af72b1e07805342590869a4f6e2c70134093219

commit 7af72b1e07805342590869a4f6e2c70134093219
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Wed Jul 22 16:30:19 2015 +0200

    Elm_Config: fix compilation when getuid() or geteuid() are not available
    
    @fix
---
 src/lib/elm_config.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index b389ce7..2e5b086 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -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();

-- 


Reply via email to