瀏覽代碼

fix: make pid_t type 'int'

macos gcc compiler says pid_t should be int, not 'long int'
greatbridf 2 年之前
父節點
當前提交
7438992327
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 }