summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_modules.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-08 22:06:41 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-08 22:06:41 +0900
commite8c13118eb39a3acaf70430951f7049c53799bae (patch)
tree3a91075c6e93f53c60cea3ebcb714575f0ce5b79 /src/lib/emotion/emotion_modules.c
parentb95ef3801f9719a8f8ff731e25d66a8d1dd417cd (diff)
fix mingw build for setuid fix/checks
Diffstat (limited to 'src/lib/emotion/emotion_modules.c')
-rw-r--r--src/lib/emotion/emotion_modules.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_modules.c b/src/lib/emotion/emotion_modules.c
index d39c575ceb..afbf9416ea 100644
--- a/src/lib/emotion/emotion_modules.c
+++ b/src/lib/emotion/emotion_modules.c
@@ -58,7 +58,9 @@ _emotion_modules_load(void)
58 if (_emotion_modules_loaded) return; 58 if (_emotion_modules_loaded) return;
59 _emotion_modules_loaded = EINA_TRUE; 59 _emotion_modules_loaded = EINA_TRUE;
60 60
61 if (getuid() == getuid()) 61#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
62 if (getuid() == geteuid())
63#endif
62 { 64 {
63 if (getenv("EFL_RUN_IN_TREE")) 65 if (getenv("EFL_RUN_IN_TREE"))
64 { 66 {