fix missed ifdef lack for getuid for windows
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 8 Jan 2014 13:35:57 +0000 (22:35 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 8 Jan 2014 13:35:57 +0000 (22:35 +0900)
src/lib/ecore_evas/ecore_evas_module.c

index 5285dc4cfec3ecbaea1d52a51fbfdc4560ffeba0..60ceb36a15b48461cfe700a9d1d48230fca86473 100644 (file)
@@ -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"))
           {