WEXITSTATUS is POSIX, show me the platform that does not support this.

WIFEXITED is not used at Windows code.

Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com>
---
 src/openvpn/syshead.h |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h
index c5bf4a8..3e64936 100644
--- a/src/openvpn/syshead.h
+++ b/src/openvpn/syshead.h
@@ -53,15 +53,6 @@
 # include <sys/wait.h>
 #endif

-#ifndef WIN32
-#ifndef WEXITSTATUS
-# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
-#endif
-#ifndef WIFEXITED
-# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
-#endif
-#endif
-
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
-- 
1.7.3.4


Reply via email to