diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-01-28 18:03:54 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-01-28 18:03:54 +0000 |
commit | 4bb6112fb1e12bac0b8d7858373fd217fa717696 (patch) | |
tree | 92f13c12a5120d91253e00fcaf7bcc8782ac302b | |
parent | 6616e6cf767f6567f2b13380c0488730395c6703 (diff) | |
download | newlib-4bb6112fb1e12bac0b8d7858373fd217fa717696.zip newlib-4bb6112fb1e12bac0b8d7858373fd217fa717696.tar.gz newlib-4bb6112fb1e12bac0b8d7858373fd217fa717696.tar.bz2 |
* libc/include/sys/signal.h [__CYGWIN__]: Issue error message
when _CYGWIN_TYPES_H is not defined.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/signal.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b403baa..5d7bd6c 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com> + + * libc/include/sys/signal.h [__CYGWIN__]: Issue error message + when _CYGWIN_TYPES_H is not defined. + 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com> * libc/include/sys/signal.h: Revert 2002-01-23 change. diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h index e3368bf..11d370a 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 |