ソースを参照

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
 }