* libc/include/sys/types.h: Don't define __MS_types__ for Cygwin. Don't define
some types under cygwin.
This commit is contained in:
parent
14e54d7c97
commit
51a46b54ba
|
@ -1,3 +1,8 @@
|
|||
2003-02-10 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
|
||||
Don't define some types under cygwin.
|
||||
|
||||
2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
|
||||
|
|
|
@ -46,10 +46,6 @@ __extension__ typedef unsigned long long __uint64_t;
|
|||
#define _SYS_TYPES_H
|
||||
#include <sys/_types.h>
|
||||
|
||||
#if defined (_WIN32) || defined (__CYGWIN__)
|
||||
#define __MS_types__
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
#if defined (GO32) || defined (__MSDOS__)
|
||||
#define __MS_types__
|
||||
|
@ -115,6 +111,7 @@ struct itimerspec {
|
|||
typedef long daddr_t;
|
||||
typedef char * caddr_t;
|
||||
|
||||
#ifndef __CYGWIN__
|
||||
#if defined(__MS_types__) || defined(__rtems__)
|
||||
typedef unsigned long ino_t;
|
||||
#else
|
||||
|
@ -124,7 +121,7 @@ typedef unsigned long ino_t;
|
|||
typedef unsigned short ino_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /*__CYGWIN__*/
|
||||
|
||||
#ifdef __MS_types__
|
||||
typedef unsigned long vm_offset_t;
|
||||
|
@ -170,6 +167,7 @@ typedef int pid_t;
|
|||
typedef long key_t;
|
||||
typedef _ssize_t ssize_t;
|
||||
|
||||
#ifndef __CYGWIN__
|
||||
#ifdef __MS_types__
|
||||
typedef char * addr_t;
|
||||
typedef int mode_t;
|
||||
|
@ -184,6 +182,7 @@ typedef unsigned short mode_t;
|
|||
typedef unsigned int mode_t _ST_INT32;
|
||||
#endif
|
||||
#endif /* ! __MS_types__ */
|
||||
#endif /*__CYGWIN__*/
|
||||
|
||||
typedef unsigned short nlink_t;
|
||||
|
||||
|
|
Loading…
Reference in New Issue