rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=ea8b853dc0c6cb4b168aca9a3139b02e891fd037

commit ea8b853dc0c6cb4b168aca9a3139b02e891fd037
Author: Vitalii Vorobiov <[email protected]>
Date:   Fri Jul 15 12:27:57 2016 +0300

    project_manager: do not use sigset under WIN32
    
    @fix
---
 src/bin/project_manager/project_manager.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/project_manager/project_manager.c 
b/src/bin/project_manager/project_manager.c
index 2363b3c..9ed03f6 100644
--- a/src/bin/project_manager/project_manager.c
+++ b/src/bin/project_manager/project_manager.c
@@ -549,10 +549,12 @@ _project_import_edc(void *data,
     * | if group has scripts it waits for child(compiler)
     * | process termination, but never receives it because of blocked SIGCHLD
     */
+#ifndef _WIN32
    sigset_t oldset, newset;
    sigemptyset(&newset);
    sigaddset(&newset, SIGCHLD);
    sigprocmask(SIG_UNBLOCK, &newset, &oldset);
+#endif
 
    Eina_Bool send_end_child;
    Eina_Bool send_end = (data) ? (*(Eina_Bool *)data) : true;
@@ -1602,10 +1604,12 @@ _release_export(void *data __UNUSED__,
     * | if group has scripts it waits for child(compiler)
     * | process termination, but never receives it because of blocked SIGCHLD
     */
+#ifndef _WIN32
    sigset_t oldset, newset;
    sigemptyset(&newset);
    sigaddset(&newset, SIGCHLD);
    sigprocmask(SIG_UNBLOCK, &newset, &oldset);
+#endif
 
    Eina_Tmpstr *tmp_dirname;
    Eina_Strbuf *cmd;
@@ -1794,10 +1798,12 @@ _enventor_save(void *data __UNUSED__,
     * | if group has scripts it waits for child(compiler)
     * | process termination, but never receives it because of blocked SIGCHLD
     */
+#ifndef _WIN32
    sigset_t oldset, newset;
    sigemptyset(&newset);
    sigaddset(&newset, SIGCHLD);
    sigprocmask(SIG_UNBLOCK, &newset, &oldset);
+#endif
 
    Ecore_Event_Handler *cb_msg_stdout = NULL,
                        *cb_msg_stderr = NULL;

-- 


Reply via email to