* win32/win32.h: define SIGINT and SIGKILL if not defined.
* win32/win32.c: remove definition of SIGINT and SIGKILL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a13ebdb836
commit
c1454b3acb
@ -1,3 +1,9 @@
|
|||||||
|
Wed Aug 28 11:37:35 2002 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* win32/win32.h: define SIGINT and SIGKILL if not defined.
|
||||||
|
|
||||||
|
* win32/win32.c: remove definition of SIGINT and SIGKILL.
|
||||||
|
|
||||||
Tue Aug 27 19:50:27 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Tue Aug 27 19:50:27 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* ruby.c (require_libraries): prevent ruby_sorcefile from GC.
|
* ruby.c (require_libraries): prevent ruby_sorcefile from GC.
|
||||||
|
@ -2332,13 +2332,6 @@ chown(const char *path, int owner, int group)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <signal.h>
|
|
||||||
#ifndef SIGINT
|
|
||||||
#define SIGINT 2
|
|
||||||
#endif
|
|
||||||
#ifndef SIGKILL
|
|
||||||
#define SIGKILL 9
|
|
||||||
#endif
|
|
||||||
int
|
int
|
||||||
kill(int pid, int sig)
|
kill(int pid, int sig)
|
||||||
{
|
{
|
||||||
|
@ -53,6 +53,7 @@ extern "C++" {
|
|||||||
#include <process.h>
|
#include <process.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <signal.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#if !defined(__BORLANDC__)
|
#if !defined(__BORLANDC__)
|
||||||
@ -273,6 +274,14 @@ extern char *rb_w32_strerror(int);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef SIGINT
|
||||||
|
#define SIGINT 2
|
||||||
|
#endif
|
||||||
|
#ifndef SIGKILL
|
||||||
|
#define SIGKILL 9
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* #undef va_start */
|
/* #undef va_start */
|
||||||
/* #undef va_end */
|
/* #undef va_end */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user