From cc890e89529cdcd2500893097d9a6c52e5eee672 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 3 Jun 2002 17:48:06 +0000 Subject: * libc/include/sys/types.h: Don't define dev_t when compiling for Cygwin. --- newlib/libc/include/sys/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc') diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index 2a12e4e34..205317faf 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -125,8 +125,10 @@ typedef int32_t register_t; /* device numbers are 32-bit major and and 32-bit minor */ typedef unsigned long long dev_t; #else +#ifndef __CYGWIN__ typedef short dev_t; #endif +#endif #ifndef __CYGWIN__ /* which defines these types in it's own types.h. */ typedef long off_t; -- cgit v1.2.3