mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-20 19:04:49 +00:00
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
18 lines
411 B
C
18 lines
411 B
C
/* signal.h - bsd-games wrapper for <signal.h> */
|
|
|
|
#include <features.h>
|
|
|
|
#ifndef __GLIBC__
|
|
#define __USE_BSD_SIGNAL 1 /* Get BSD signal semantics with libc5 */
|
|
#endif
|
|
|
|
#include_next <signal.h>
|
|
|
|
#ifndef __GLIBC__ /* glibc 2 has this; with libc5 we want to avoid
|
|
* <bsd/signal.h>. */
|
|
#ifndef LINUX_BSD_GAMES_DEFINED_SIG_T
|
|
typedef __sighandler_t sig_t;
|
|
#define LINUX_BSD_GAMES_DEFINED_SIG_T 1
|
|
#endif
|
|
#endif
|