2008-12-13 21:28:05 +00:00
|
|
|
/**
|
2007-09-24 11:40:54 +00:00
|
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
2008-12-13 21:28:05 +00:00
|
|
|
* This file is part of the w64 mingw-runtime package.
|
|
|
|
* No warranty is given; refer to the file DISCLAIMER within this package.
|
2007-09-24 11:40:54 +00:00
|
|
|
*/
|
2008-12-13 21:28:05 +00:00
|
|
|
#ifndef _INC_TYPES
|
|
|
|
#define _INC_TYPES
|
2007-09-24 11:40:54 +00:00
|
|
|
|
2008-12-13 21:28:05 +00:00
|
|
|
#ifndef _WIN32
|
|
|
|
#error Only Win32 target is supported!
|
|
|
|
#endif
|
2007-09-24 11:40:54 +00:00
|
|
|
|
2008-12-21 23:33:19 +00:00
|
|
|
#include <crtdefs.h>
|
2007-09-24 11:40:54 +00:00
|
|
|
|
2008-12-13 21:28:05 +00:00
|
|
|
#ifndef _INO_T_DEFINED
|
|
|
|
#define _INO_T_DEFINED
|
|
|
|
typedef unsigned short _ino_t;
|
|
|
|
#ifndef NO_OLDNAMES
|
|
|
|
typedef unsigned short ino_t;
|
|
|
|
#endif
|
2007-09-24 11:40:54 +00:00
|
|
|
#endif
|
|
|
|
|
2008-12-13 21:28:05 +00:00
|
|
|
#ifndef _DEV_T_DEFINED
|
|
|
|
#define _DEV_T_DEFINED
|
|
|
|
typedef unsigned int _dev_t;
|
|
|
|
#ifndef NO_OLDNAMES
|
|
|
|
typedef unsigned int dev_t;
|
|
|
|
#endif
|
|
|
|
#endif
|
2007-09-24 11:40:54 +00:00
|
|
|
|
2008-12-13 21:28:05 +00:00
|
|
|
#ifndef _OFF_T_DEFINED
|
|
|
|
#define _OFF_T_DEFINED
|
|
|
|
typedef long _off_t;
|
2008-12-22 20:59:56 +00:00
|
|
|
# ifndef NO_OLDNAMES
|
2008-12-13 21:28:05 +00:00
|
|
|
typedef long off_t;
|
2008-12-22 20:59:56 +00:00
|
|
|
# endif
|
2007-09-24 11:40:54 +00:00
|
|
|
#endif
|
|
|
|
|
2010-07-05 23:00:19 +00:00
|
|
|
#ifndef _PID_T_
|
|
|
|
#define _PID_T_
|
2009-06-27 19:06:00 +00:00
|
|
|
#ifndef _WIN64
|
|
|
|
typedef int _pid_t;
|
|
|
|
#else
|
|
|
|
typedef __int64 _pid_t;
|
|
|
|
#endif
|
2010-07-05 23:00:19 +00:00
|
|
|
|
2009-06-27 19:06:00 +00:00
|
|
|
#ifndef NO_OLDNAMES
|
|
|
|
typedef _pid_t pid_t;
|
|
|
|
#endif
|
2010-07-05 23:00:19 +00:00
|
|
|
#endif /* Not _PID_T_ */
|
2009-06-27 19:06:00 +00:00
|
|
|
|
2008-12-22 20:59:56 +00:00
|
|
|
#endif /* !_INC_TYPES */
|