mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 18:10:52 +08:00
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:
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user