diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 08:21:44 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-04-21 10:08:19 +0200 |
commit | 9bb91b6c6b2c648fb656a7b41a72037a4659f708 (patch) | |
tree | bbd9c7aed584e5fa0eff28938c9623711dddf129 /newlib/libc/include/sys/signal.h | |
parent | 5c9403eaf40951f8a4f55ed65f661b485ff44be7 (diff) | |
download | cygnal-9bb91b6c6b2c648fb656a7b41a72037a4659f708.tar.gz cygnal-9bb91b6c6b2c648fb656a7b41a72037a4659f708.tar.bz2 cygnal-9bb91b6c6b2c648fb656a7b41a72037a4659f708.zip |
Resurrect <machine/types.h> for <sys/types.h>
Resurrect <machine/_user_types.h> for use in <sys/types.h>. Newlib
targets may provide an own version of <machine/types.h> in their machine
directory to add custom user types for <sys/types.h>. Check the
_SYS_TYPES_H header guard to prevent a direct include of
<machine/types.h>, since the <machine/types.h> file is a Newlib
speciality.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/libc/include/sys/signal.h')
-rw-r--r-- | newlib/libc/include/sys/signal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h index d6d173cc0..8d1b53fce 100644 --- a/newlib/libc/include/sys/signal.h +++ b/newlib/libc/include/sys/signal.h @@ -199,11 +199,6 @@ int _EXFUN(sigaltstack, (const stack_t *__restrict, stack_t *__restrict)); #endif #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 |