Explorar o código

fix: make pid_t type 'int'

macos gcc compiler says pid_t should be int, not 'long int'
greatbridf %!s(int64=2) %!d(string=hai) anos
pai
achega
7438992327
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gblibc/include/sys/types.h

+ 1 - 1
gblibc/include/sys/types.h

@@ -7,7 +7,7 @@
 extern "C" {
 #endif
 
-typedef ssize_t pid_t;
+typedef int pid_t;
 
 #ifdef __cplusplus
 }