0e710b9a7cb04b84cecfb483306ce028934012ec
[reactos.git] / reactos / include / msvcrt / 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 * DISCLAMED. This includes but is not limited to warrenties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 * $Revision: 1.4 $
22 * $Author: chorns $
23 * $Date: 2002/09/08 11:16:44 $
24 *
25 */
26
27 #ifndef _TYPES_H_
28 #define _TYPES_H_
29
30 #ifdef __GNUC__
31 #undef __int64
32 #define __int64 long long
33 #endif
34
35 #ifndef _TIME_T_
36 #define _TIME_T_
37 typedef long time_t;
38 #endif
39
40
41 #ifndef __STRICT_ANSI__
42
43 #ifndef _OFF_T_DEFINED
44 typedef long _off_t;
45
46 #ifndef _NO_OLDNAMES
47 #define off_t _off_t
48 #endif
49
50 #define _OFF_T_DEFINED
51
52 #endif /* Not _OFF_T_DEFINED */
53
54
55 #ifndef _DEV_T_DEFINED
56 typedef short _dev_t;
57
58 #ifndef _NO_OLDNAMES
59 #define dev_t _dev_t
60 #endif
61
62 #define _DEV_T_DEFINED
63
64 #endif /* Not _DEV_T_DEFINED */
65
66
67 #ifndef _INO_T_DEFINED
68 typedef short _ino_t;
69
70 #ifndef _NO_OLDNAMES
71 #define ino_t _ino_t
72 #endif
73
74 #define _INO_T_DEFINED
75
76 #endif /* Not _INO_T_DEFINED */
77
78
79 #endif /* Not __STRICT_ANSI__ */
80
81
82 #endif /* Not _TYPES_H_ */