x86-64 bug fix: Use stack with alignment just like 32bit environments.
[tinycc/kirr.git] / win32 / include / sys / types.h
blob0679ac9b33abddba96204874e8b76077a8a0aba5
1 /*
2 * types.h
4 * The definition of constants, data types and global variables.
6 * This file is part of the Mingw32 package.
8 * Contributors:
9 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10 * Lots of types supplied by Pedro A. Aranda <paag@tid.es>
12 * THIS SOFTWARE IS NOT COPYRIGHTED
14 * This source code is offered for use in the public domain. You may
15 * use, modify or distribute it freely.
17 * This code is distributed in the hope that it will be useful but
18 * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
19 * DISCLAIMED. This includes but is not limited to warrenties of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22 * $Revision: 1.2 $
23 * $Author: bellard $
24 * $Date: 2005/04/17 13:14:29 $
28 #ifndef _TYPES_H_
29 #define _TYPES_H_
31 /* All the headers include this file. */
32 #include <_mingw.h>
34 #define __need_wchar_t
35 #define __need_size_t
36 #define __need_ptrdiff_t
37 #ifndef RC_INVOKED
38 #include <stddef.h>
39 #endif /* Not RC_INVOKED */
41 #ifndef RC_INVOKED
43 #ifndef _TIME_T_DEFINED
44 typedef long time_t;
45 #define _TIME_T_DEFINED
46 #endif
49 #ifndef __STRICT_ANSI__
51 #ifndef _OFF_T_
52 #define _OFF_T_
53 typedef long _off_t;
55 #ifndef _NO_OLDNAMES
56 typedef _off_t off_t;
57 #endif
58 #endif /* Not _OFF_T_ */
61 #ifndef _DEV_T_
62 #define _DEV_T_
63 #ifdef __MSVCRT__
64 typedef unsigned int _dev_t;
65 #else
66 typedef short _dev_t;
67 #endif
69 #ifndef _NO_OLDNAMES
70 typedef _dev_t dev_t;
71 #endif
72 #endif /* Not _DEV_T_ */
75 #ifndef _INO_T_
76 #define _INO_T_
77 typedef short _ino_t;
79 #ifndef _NO_OLDNAMES
80 typedef _ino_t ino_t;
81 #endif
82 #endif /* Not _INO_T_ */
85 #ifndef _PID_T_
86 #define _PID_T_
87 typedef int _pid_t;
89 #ifndef _NO_OLDNAMES
90 typedef _pid_t pid_t;
91 #endif
92 #endif /* Not _PID_T_ */
95 #ifndef _MODE_T_
96 #define _MODE_T_
97 typedef unsigned short _mode_t;
99 #ifndef _NO_OLDNAMES
100 typedef _mode_t mode_t;
101 #endif
102 #endif /* Not _MODE_T_ */
105 #ifndef _SIGSET_T_
106 #define _SIGSET_T_
107 typedef int _sigset_t;
109 #ifndef _NO_OLDNAMES
110 typedef _sigset_t sigset_t;
111 #endif
112 #endif /* Not _SIGSET_T_ */
114 #endif /* Not __STRICT_ANSI__ */
116 #endif /* Not RC_INVOKED */
118 #endif /* Not _TYPES_H_ */