Explorar el Código

fix: make pid_t type 'int'

macos gcc compiler says pid_t should be int, not 'long int'
greatbridf hace 2 años
padre
commit
7438992327
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gblibc/include/sys/types.h

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

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