From d58729f3bc83298ceb19d9fac75659a86eefb63c Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 11 Aug 2016 15:31:36 +0900 Subject: [PATCH] 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(); }