summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-16 07:23:04 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-16 07:23:04 +0000
commit4f60a534cd006a72f4b4b0cdf7b1f4cc205a81bd (patch)
tree22f79310889b135f246000e80aefb57bb2b0680c /signal.c
parentc27d662f503d101b26a3897436bb58e8a0253660 (diff)
* io.c (NOFILE): define NOFILE as 64 if not defined.
* signal.c (sighandler_t): rename to sh_t on dietlibc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index faf0ba6..6b2d505 100644
--- a/signal.c
+++ b/signal.c
@@ -288,6 +288,10 @@ rb_gc_mark_trap_list()
#endif /* MACOS_UNUSE_SIGNAL */
}
+#ifdef __dietlibc__
+#define sighandler_t sh_t
+#endif
+
typedef RETSIGTYPE (*sighandler_t)_((int));
#ifdef POSIX_SIGNAL