hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=d58729f3bc83298ceb19d9fac75659a86eefb63c

commit d58729f3bc83298ceb19d9fac75659a86eefb63c
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Thu Aug 11 15:31:36 2016 +0900

    Get rid of the lock file mecahinsm from win32 build.
    
    It needs a portable way to support win32.
---
 src/bin/main.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/main.c b/src/bin/main.c
index ead19bc..1c664f8 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1062,9 +1062,12 @@ init(app_data *ad, int argc, char **argv)
    elm_setup();
    enventor_init(argc, argv);
 
+//FIXME: We need a win porting.
+#ifndef _WIN32
    if (!enventor_lock_create()) return EINA_FALSE;
 
    sigaction_setup();
+#endif
 
    Eina_Bool template = EINA_FALSE;
    Eina_Bool default_edc = EINA_TRUE;
@@ -1113,7 +1116,9 @@ term(void)
    base_gui_term();
    file_mgr_term();
    config_term();
+#ifndef _WIN32
    enventor_lock_remove();
+#endif
    enventor_shutdown();
 }
 

-- 


Reply via email to