zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

int-l64.h (717B) - Raw


      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2 /*
      3  * asm-generic/int-l64.h
      4  *
      5  * Integer declarations for architectures which use "long"
      6  * for 64-bit types.
      7  */
      8 
      9 #ifndef _ASM_GENERIC_INT_L64_H
     10 #define _ASM_GENERIC_INT_L64_H
     11 
     12 #include <asm/bitsperlong.h>
     13 
     14 #ifndef __ASSEMBLY__
     15 /*
     16  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
     17  * header files exported to user space
     18  */
     19 
     20 typedef __signed__ char __s8;
     21 typedef unsigned char __u8;
     22 
     23 typedef __signed__ short __s16;
     24 typedef unsigned short __u16;
     25 
     26 typedef __signed__ int __s32;
     27 typedef unsigned int __u32;
     28 
     29 typedef __signed__ long __s64;
     30 typedef unsigned long __u64;
     31 
     32 #endif /* __ASSEMBLY__ */
     33 
     34 
     35 #endif /* _ASM_GENERIC_INT_L64_H */