2010-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>

* configure.ac, posix/src/signal_2.c: sighandler_t is defined
	conditionally in some versions of newlib and unconditionally in
	others. Make sure we always compile.
This commit is contained in:
Joel Sherrill
2010-12-03 20:34:24 +00:00
parent 8353f94f85
commit 57e278dab9
3 changed files with 14 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
2010-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, posix/src/signal_2.c: sighandler_t is defined
conditionally in some versions of newlib and unconditionally in
others. Make sure we always compile.
2010-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
+5 -1
View File
@@ -134,7 +134,11 @@ AC_CHECK_HEADER([pthread.h],[
AC_CHECK_TYPES([pthread_spinlock_t])
])
RTEMS_CHECK_MULTIPROCESSING
AC_CHECK_HEADER([signal.h],[
AC_CHECK_TYPES([sighandler_t])
])
RTEMS_CHECK_MULTIPROCESSING
RTEMS_CHECK_POSIX_API
RTEMS_CHECK_NETWORKING
+3 -1
View File
@@ -18,7 +18,9 @@
#include <signal.h>
#include <errno.h>
typedef void (*sighandler_t)(int);
#ifndef HAVE_SIGHANDLER_T
typedef void (*sighandler_t)(int);
#endif
sighandler_t signal(
int signum,