From d1b5e65ba333661bdcba161023bc964562a06812 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 11 May 2003 12:51:52 +0000 Subject: [PATCH] * libc/include/sys/types.h: Don't define key_t for Cygwin. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/sys/types.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 838169265..f6e3ccaae 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2003-05-11 Corinna Vinschen + + * libc/include/sys/types.h: Don't define key_t for Cygwin. + 2003-05-10 Christopher Faylor * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly) diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index 9237fda7f..f17379e73 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -164,7 +164,9 @@ typedef unsigned short gid_t; #endif typedef int pid_t; +#ifndef __CYGWIN__ typedef long key_t; +#endif typedef _ssize_t ssize_t; #ifndef __CYGWIN__