Browse Source

fix __intptr_t for 64bit arches

Mike Frysinger 20 năm trước cách đây
mục cha
commit
9f30696750
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libc/sysdeps/linux/common/bits/types.h

+ 1 - 1
libc/sysdeps/linux/common/bits/types.h

@@ -150,7 +150,7 @@ 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.  */
-typedef int __intptr_t;
+typedef __SWORD_TYPE __intptr_t;
 
 /* Duplicate info from sys/socket.h.  */
 typedef unsigned int __socklen_t;