summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2014-08-09 12:00:32 +0200
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 20:55:58 +0900
commit0fb9f5d5163fbeb5304684714f7e9aa41f1485a5 (patch)
treef567c95a42d41ec057181113e78b84708bebaf53 /src/lib/efreet
parente7198621c585af10e03a467befd05a3eaf5b5e51 (diff)
efreet: remove #ifdef GETUID inside #ifdef _WIN32 (it's always false).
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_base.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/efreet/efreet_base.c b/src/lib/efreet/efreet_base.c
index 20c248b6ab..dfc5a3aa9b 100644
--- a/src/lib/efreet/efreet_base.c
+++ b/src/lib/efreet/efreet_base.c
@@ -291,9 +291,6 @@ efreet_dirs_init(void)
291#ifdef _WIN32 291#ifdef _WIN32
292 if (!efreet_home_dir || efreet_home_dir[0] == '\0') 292 if (!efreet_home_dir || efreet_home_dir[0] == '\0')
293 { 293 {
294#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
295 if (getuid() == geteuid())
296#endif
297 efreet_home_dir = getenv("USERPROFILE"); 294 efreet_home_dir = getenv("USERPROFILE");
298 } 295 }
299#endif 296#endif