Update the changelog
[opencv] / apps / Hawk / CVEiCL / EiC / module / stdClib / src / _LINUX / types.h
1 #ifndef _SYS_TYPES
2 #define _SYS_TYPES
3
4
5 #define _need_size_t
6 #include "sys/stdtypes.h"
7 #undef _need_size_t
8
9 #if 0 /* used for libc5 */
10
11 typedef int pid_t;          /* process id variable */
12 typedef int ssize_t;
13 typedef unsigned long ino_t;
14 typedef long off_t;
15 typedef unsigned short uid_t;
16 typedef unsigned short gid_t;
17 typedef unsigned short dev_t;
18 typedef unsigned short mode_t;
19 typedef unsigned short umode_t;
20 typedef unsigned short nlink_t;
21
22 /*typedef int daddr_t; ??*/
23
24 #else /* libc6 definitions */
25
26 typedef int pid_t;          /* process id variable */
27 typedef int ssize_t;
28 typedef unsigned long ino_t;
29 typedef long off_t;
30 typedef unsigned uid_t;
31 typedef unsigned gid_t;
32 typedef unsigned mode_t;
33 typedef unsigned umode_t;
34 typedef unsigned nlink_t;
35
36
37 #ifdef __GNUC__
38
39 typedef unsigned long long int __u_quad_t;
40
41 #else
42
43 typedef struct
44   {
45     long int __val[2];
46   } __u_quad_t;
47
48 #endif
49
50 typedef __u_quad_t dev_t;
51
52 #endif 
53
54
55 #endif
56
57