From 4bb6112fb1e12bac0b8d7858373fd217fa717696 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Mon, 28 Jan 2002 18:03:54 +0000 Subject: * libc/include/sys/signal.h [__CYGWIN__]: Issue error message when _CYGWIN_TYPES_H is not defined. --- newlib/libc/include/sys/signal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'newlib/libc/include/sys/signal.h') diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h index e3368bfb1..11d370ac4 100644 --- a/newlib/libc/include/sys/signal.h +++ b/newlib/libc/include/sys/signal.h @@ -159,6 +159,11 @@ int _EXFUN(sigsuspend, (const sigset_t *)); int _EXFUN(sigpause, (int)); #if defined(_POSIX_THREADS) +#ifdef __CYGWIN__ +# ifndef _CYGWIN_TYPES_H +# error You need the winsup sources or a cygwin installation to compile the cygwin version of newlib. +# endif +#endif int _EXFUN(pthread_kill, (pthread_t thread, int sig)); #endif -- cgit v1.2.3