Commit 20c7f632892c2e7469c3202a58a70844abdf5426

SSE4 2019-02-25T16:49:30

- fix LONG_PTR for x86 Signed-off-by: SSE4 <tomskside@gmail.com>

diff --git a/sys/wait.h b/sys/wait.h
index b3aed8f..f216143 100644
--- a/sys/wait.h
+++ b/sys/wait.h
@@ -48,8 +48,19 @@ extern "C" {
 
 typedef unsigned long DWORD;
 typedef DWORD * LPDWORD;
+
+#ifdef _WIN64
+
 typedef long long LONG_PTR;
 typedef unsigned long long ULONG_PTR;
+
+#else /* _WIN64 */
+
+typedef long LONG_PTR;
+typedef unsigned long ULONG_PTR;
+
+#endif
+
 typedef long LONG;
 typedef wchar_t WCHAR;
 typedef int BOOL;