Ticket #5980: MinGW-sched.h.patch
File MinGW-sched.h.patch, 489 bytes (added by , 15 years ago) |
---|
-
include/sched.h
old new 124 124 typedef int pid_t; 125 125 #endif 126 126 127 /* Thread scheduling policies */ 127 /* pid_t again! */ 128 #if defined(__MINGW32__) || defined(_UWIN) 129 /* Define to `int' if <sys/types.h> does not define. */ 130 /* GCC 4.x reportedly defines pid_t. */ 131 #ifndef _PID_T_ 132 #define pid_t int 133 #endif 134 #endif 128 135 136 /* Thread scheduling policies */ 129 137 enum { 130 138 SCHED_OTHER = 0, 131 139 SCHED_FIFO,