46337b28f0d2f38af81f028d55ecb1b1f05c3bd0
[reactos.git] / reactos / include / crtdll / sys / types.h
1 /*
2 * types.h
3 *
4 * The definition of constants, data types and global variables.
5 *
6 * This file is part of the Mingw32 package.
7 *
8 * Contributors:
9 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10 *
11 * THIS SOFTWARE IS NOT COPYRIGHTED
12 *
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
15 *
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warrenties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 * $Revision: 1.4 $
22 * $Author: robd $
23 * $Date: 2002/11/24 18:09:57 $
24 *
25 */
26
27 #ifndef _TYPES_H_
28 #define _TYPES_H_
29
30 #ifndef _TIME_T_
31 #define _TIME_T_
32 typedef long time_t;
33 #endif
34
35
36 #ifndef __STRICT_ANSI__
37
38 #ifndef _OFF_T_DEFINED
39 typedef long _off_t;
40
41 #ifndef _NO_OLDNAMES
42 #define off_t _off_t
43 #endif
44
45 #define _OFF_T_DEFINED
46
47 #endif /* Not _OFF_T_DEFINED */
48
49
50 #ifndef _DEV_T_DEFINED
51 typedef short _dev_t;
52
53 #ifndef _NO_OLDNAMES
54 #define dev_t _dev_t
55 #endif
56
57 #define _DEV_T_DEFINED
58
59 #endif /* Not _DEV_T_DEFINED */
60
61
62 #ifndef _INO_T_DEFINED
63 typedef short _ino_t;
64
65 #ifndef _NO_OLDNAMES
66 #define ino_t _ino_t
67 #endif
68
69 #define _INO_T_DEFINED
70
71 #endif /* Not _INO_T_DEFINED */
72
73
74 #endif /* Not __STRICT_ANSI__ */
75
76
77 #endif /* Not _TYPES_H_ */