mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c27d662f50
commit
4f60a534cd
3 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Aug 16 15:58:16 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* io.c (NOFILE): define NOFILE as 64 if not defined.
|
||||
|
||||
* signal.c (sighandler_t): rename to sh_t on dietlibc.
|
||||
|
||||
Fri Aug 16 15:37:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* bignum.c (rb_cstr_to_inum): new decimal and octal string.
|
||||
|
|
4
io.c
4
io.c
|
@ -76,7 +76,9 @@ struct timeval {
|
|||
/* EMX has sys/param.h, but.. */
|
||||
#if defined(HAVE_SYS_PARAM_H) && !(defined(__EMX__) || defined(__HIUX_MPP__))
|
||||
# include <sys/param.h>
|
||||
#else
|
||||
#endif
|
||||
|
||||
#if !defined NOFILE
|
||||
# define NOFILE 64
|
||||
#endif
|
||||
|
||||
|
|
4
signal.c
4
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
|
||||
|
|
Loading…
Add table
Reference in a new issue