diff options
author | Jean Guyomarc'h <jean@guyomarch.bzh> | 2016-06-02 00:09:27 +0200 |
---|---|---|
committer | Jean Guyomarc'h <jean@guyomarch.bzh> | 2016-06-02 00:14:22 +0200 |
commit | 45b12224ec1bf0c73bce6b936950c49140bc9c3a (patch) | |
tree | c9a3a30548061e6d550e723c77a3f9ea861f0d93 /src/bin/eina | |
parent | 098aa1615f68ed30cdd40f38fe7dc359d3971a8e (diff) |
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
Diffstat (limited to 'src/bin/eina')
-rw-r--r-- | src/bin/eina/eina_btlog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/eina/eina_btlog.c b/src/bin/eina/eina_btlog.c index d8ff13b601..2d05151b35 100644 --- a/src/bin/eina/eina_btlog.c +++ b/src/bin/eina/eina_btlog.c | |||
@@ -277,7 +277,6 @@ _translation_function_detect(const Translation_Desc *desc) | |||
277 | if (p) | 277 | if (p) |
278 | { | 278 | { |
279 | ret = pclose(p); | 279 | ret = pclose(p); |
280 | ret = WEXITSTATUS(ret); | ||
281 | if (ret == 0) | 280 | if (ret == 0) |
282 | { | 281 | { |
283 | _translate = d->func; | 282 | _translate = d->func; |