Skip to content

Commit 52525ad

Browse files
committed
Reverting pid_t type change (this was breaking code that considers pid_t as signed)
1 parent 0f1fcb3 commit 52525ad

File tree

1 file changed

+3
-1
lines changed
  • contrib/win32/win32compat/inc

1 file changed

+3
-1
lines changed

contrib/win32/win32compat/inc/defs.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ typedef int sigset_t;
7070

7171
typedef unsigned short _mode_t;
7272
typedef _mode_t mode_t;
73-
typedef DWORD_PTR pid_t;
73+
/* TODO - investigate if it makes sense to make pid_t a DWORD_PTR.
74+
* Double check usage of pid_t as int */
75+
typedef int pid_t;
7476

7577
/* wait pid options */
7678
#define WNOHANG 1

0 commit comments

Comments
 (0)