From 52525ad938ee900407bcb43718e66417780c6ea5 Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Fri, 23 Sep 2016 12:20:17 -0700 Subject: [PATCH] Reverting pid_t type change (this was breaking code that considers pid_t as signed) --- contrib/win32/win32compat/inc/defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/win32/win32compat/inc/defs.h b/contrib/win32/win32compat/inc/defs.h index 6a76bf6..7f49745 100644 --- a/contrib/win32/win32compat/inc/defs.h +++ b/contrib/win32/win32compat/inc/defs.h @@ -70,7 +70,9 @@ typedef int sigset_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; -typedef DWORD_PTR pid_t; +/* TODO - investigate if it makes sense to make pid_t a DWORD_PTR. + * Double check usage of pid_t as int */ +typedef int pid_t; /* wait pid options */ #define WNOHANG 1 \ No newline at end of file