forked from enlightenment/efl
eina: fix compilation on OpenBSD/Windows of eina_btlog
We only care whether the process terminated successfully or not. Non-zero values will be anything but a success, so we don't even care about the exit code of the program. This should fix compiling on OpenBSD (where WEXITSTATUS needed to be defined by including a system header) as well on Windows. Fixes T3733
This commit is contained in:
parent
098aa1615f
commit
45b12224ec
|
@ -277,7 +277,6 @@ _translation_function_detect(const Translation_Desc *desc)
|
|||
if (p)
|
||||
{
|
||||
ret = pclose(p);
|
||||
ret = WEXITSTATUS(ret);
|
||||
if (ret == 0)
|
||||
{
|
||||
_translate = d->func;
|
||||
|
|
Loading…
Reference in New Issue