Browse Source

fix: make pid_t type 'int'

macos gcc compiler says pid_t should be int, not 'long int'
greatbridf 2 năm trước cách đây
mục cha
commit
7438992327
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 }