OSDN Git Service

Check in released NDK version r4.
[android-x86/prebuilt.git] / ndk / android-ndk-r4 / linux / platforms / android-8 / arch-x86 / usr / include / asm / types.h
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef _ASM_X86_TYPES_H
13 #define _ASM_X86_TYPES_H
14
15 #ifndef __ASSEMBLY__
16
17 typedef unsigned short umode_t;
18
19 typedef __signed__ char __s8;
20 typedef unsigned char __u8;
21
22 typedef __signed__ short __s16;
23 typedef unsigned short __u16;
24
25 typedef __signed__ int __s32;
26 typedef unsigned int __u32;
27
28 #ifdef __i386__
29 #ifdef __GNUC__
30 __extension__ typedef __signed__ long long __s64;
31 __extension__ typedef unsigned long long __u64;
32 #endif
33 #else
34 typedef __signed__ long long __s64;
35 typedef unsigned long long __u64;
36 #endif
37
38 #endif
39
40 #endif