]> git.lizzy.rs Git - plan9front.git/blobdiff - amd64/include/u.h
libc: change usize to 64-bit for amd64 and arm64, make memory(2) functions use usize
[plan9front.git] / amd64 / include / u.h
index 3ca2369422b38b8d697c9b0ae72d9f52830f239c..32978b11529418c3f908c2094236d54c9b059f89 100644 (file)
@@ -8,7 +8,7 @@ typedef long long       vlong;
 typedef        unsigned long long uvlong;
 typedef long long      intptr;
 typedef unsigned long long uintptr;
-typedef unsigned long  usize;
+typedef unsigned long long usize;
 typedef        uint            Rune;
 typedef union FPdbleword FPdbleword;
 typedef uintptr                jmp_buf[2];
@@ -20,6 +20,10 @@ typedef unsigned char        u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* MXCSR */
 /* fcr */