config_unix: Remove WEXITSTATUS & WIFEXITED

This commit is contained in:
Martin Piatka
2025-11-19 17:46:40 +01:00
parent a0bd8da867
commit 7273dc67dc

View File

@@ -69,13 +69,6 @@
#include <unistd.h>
#include <sys/select.h>
#ifndef WEXITSTATUS
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
#include <inttypes.h>
#include <stdint.h>