* libc/include/sys/types.h: Don't define dev_t when compiling for
Cygwin.
This commit is contained in:
parent
b3c2973142
commit
cc890e8952
|
@ -1,3 +1,8 @@
|
||||||
|
2002-06-03 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* libc/include/sys/types.h: Don't define dev_t when compiling for
|
||||||
|
Cygwin.
|
||||||
|
|
||||||
2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
|
2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
|
* libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
|
||||||
|
|
|
@ -125,8 +125,10 @@ typedef int32_t register_t;
|
||||||
/* device numbers are 32-bit major and and 32-bit minor */
|
/* device numbers are 32-bit major and and 32-bit minor */
|
||||||
typedef unsigned long long dev_t;
|
typedef unsigned long long dev_t;
|
||||||
#else
|
#else
|
||||||
|
#ifndef __CYGWIN__
|
||||||
typedef short dev_t;
|
typedef short dev_t;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __CYGWIN__ /* which defines these types in it's own types.h. */
|
#ifndef __CYGWIN__ /* which defines these types in it's own types.h. */
|
||||||
typedef long off_t;
|
typedef long off_t;
|
||||||
|
|
Loading…
Reference in New Issue