소스 검색

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
 }