update for HEAD-2003021201
[reactos.git] / 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  *  DISCLAIMED. This includes but is not limited to warrenties of
19  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20  *
21  * $Revision$
22  * $Author$
23  * $Date$
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 #ifndef __STRICT_ANSI__
41
42 #ifndef _OFF_T_DEFINED
43 typedef long _off_t;
44 #ifndef _NO_OLDNAMES
45 #define off_t _off_t
46 #endif
47 #define _OFF_T_DEFINED
48 #endif  /* Not _OFF_T_DEFINED */
49
50 #ifndef _DEV_T_DEFINED
51 typedef short _dev_t;
52 #ifndef _NO_OLDNAMES
53 #define dev_t _dev_t
54 #endif
55 #define _DEV_T_DEFINED
56 #endif  /* Not _DEV_T_DEFINED */
57
58 #ifndef _INO_T_DEFINED
59 typedef short _ino_t;
60 #ifndef _NO_OLDNAMES
61 #define ino_t _ino_t
62 #endif
63 #define _INO_T_DEFINED
64 #endif  /* Not _INO_T_DEFINED */
65
66 #endif  /* Not __STRICT_ANSI__ */
67
68 #endif  /* Not _TYPES_H_ */