mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-20 19:04:49 +00:00
Initial revision
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
17
include/signal.h
Normal file
17
include/signal.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/* 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
|
||||
Reference in New Issue
Block a user