소스 검색

Provide XTI __t_scalar_t types, like glibc

Reported-by: Leonid Lisovskiy <lly.dev@gmail.com>
Waldemar Brodkorb 10 년 전
부모
커밋
016e7cb223
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      libc/sysdeps/linux/common/bits/types.h

+ 4 - 0
libc/sysdeps/linux/common/bits/types.h

@@ -188,6 +188,10 @@ typedef __off64_t __loff_t;	/* Type of file sizes and offsets (LFS).  */
 typedef __quad_t *__qaddr_t;
 typedef __quad_t *__qaddr_t;
 typedef char *__caddr_t;
 typedef char *__caddr_t;
 
 
+/* Used in XTI.  */
+typedef long int __t_scalar_t;
+typedef unsigned long int __t_uscalar_t;
+
 /* Duplicates info from stdint.h but this is used in unistd.h.  */
 /* Duplicates info from stdint.h but this is used in unistd.h.  */
 __STD_TYPE __SWORD_TYPE __intptr_t;
 __STD_TYPE __SWORD_TYPE __intptr_t;