* libc/include/sys/signal.h [__CYGWIN__]: Issue error message

when _CYGWIN_TYPES_H is not defined.
This commit is contained in:
Thomas Fitzsimmons
2002-01-28 18:03:54 +00:00
parent 6616e6cf76
commit 4bb6112fb1
2 changed files with 10 additions and 0 deletions

View File

@ -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