mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2000-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8d18d5b3f9
commit
feb82209ab
3 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Jun 16 21:23:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
|
||||||
|
|
||||||
|
* configure.in: add pause(2) checking.
|
||||||
|
|
||||||
|
* eval.c: define pause() if missing.
|
||||||
|
|
||||||
Fri Jun 16 05:18:45 2000 Yasuhiro Fukuma <yasuf@bsdclub.org>
|
Fri Jun 16 05:18:45 2000 Yasuhiro Fukuma <yasuf@bsdclub.org>
|
||||||
|
|
||||||
* configure.in: FreeBSD: do not link dummy libxpg4 which was
|
* configure.in: FreeBSD: do not link dummy libxpg4 which was
|
||||||
|
|
|
@ -222,7 +222,7 @@ AC_CHECK_FUNCS(fmod killpg drand48 random wait4 waitpid syscall getcwd\
|
||||||
truncate chsize times utimes fcntl lockf setitimer\
|
truncate chsize times utimes fcntl lockf setitimer\
|
||||||
setruid seteuid setreuid setrgid setegid setregid\
|
setruid seteuid setreuid setrgid setegid setregid\
|
||||||
getpgrp setpgrp getpgid setpgid getgroups getpriority\
|
getpgrp setpgrp getpgid setpgid getgroups getpriority\
|
||||||
dlopen sigprocmask sigaction _setjmp setsid getrlimit)
|
dlopen sigprocmask sigaction _setjmp setsid getrlimit pause)
|
||||||
AC_STRUCT_TIMEZONE
|
AC_STRUCT_TIMEZONE
|
||||||
AC_CACHE_CHECK(for external int daylight, rb_cv_have_daylight,
|
AC_CACHE_CHECK(for external int daylight, rb_cv_have_daylight,
|
||||||
[AC_TRY_LINK([#include <time.h>
|
[AC_TRY_LINK([#include <time.h>
|
||||||
|
|
8
eval.c
8
eval.c
|
@ -69,6 +69,14 @@ struct timeval {
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
#if !defined HAVE_PAUSE
|
||||||
|
# if defined _WIN32 && !defined __CYGWIN__
|
||||||
|
# define pause() Sleep(INFINITE)
|
||||||
|
# else
|
||||||
|
# define pause() sleep(0x7fffffff)
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
VALUE rb_cProc;
|
VALUE rb_cProc;
|
||||||
static VALUE rb_cBinding;
|
static VALUE rb_cBinding;
|
||||||
static VALUE proc_call _((VALUE,VALUE));
|
static VALUE proc_call _((VALUE,VALUE));
|
||||||
|
|
Loading…
Reference in a new issue