aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_evas/ecore_evas_module.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-08 22:35:57 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-08 22:35:57 +0900
commit76b4fb27dcb22995be1cb7476e56f3cc35f5eaed (patch)
tree0bccde04bb192a407faa156b8b6c8220838d41f5 /src/lib/ecore_evas/ecore_evas_module.c
parentfix mingw build for setuid fix/checks (diff)
downloadefl-76b4fb27dcb22995be1cb7476e56f3cc35f5eaed.tar.gz
fix missed ifdef lack for getuid for windows
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_module.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_module.c b/src/lib/ecore_evas/ecore_evas_module.c
index 5285dc4cfe..60ceb36a15 100644
--- a/src/lib/ecore_evas/ecore_evas_module.c
+++ b/src/lib/ecore_evas/ecore_evas_module.c
@@ -83,7 +83,9 @@ _ecore_evas_engine_init(void)
// _registered_engines = eina_hash_string_small_new(EINA_FREE_CB(eina_module_free));
_registered_engines = eina_hash_string_small_new(NULL);
+#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
if (getuid() == geteuid())
+#endif
{
if (getenv("EFL_RUN_IN_TREE"))
{