mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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
3 changed files with 15 additions and 7 deletions
|
@ -2332,13 +2332,6 @@ chown(const char *path, int owner, int group)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#include <signal.h>
|
||||
#ifndef SIGINT
|
||||
#define SIGINT 2
|
||||
#endif
|
||||
#ifndef SIGKILL
|
||||
#define SIGKILL 9
|
||||
#endif
|
||||
int
|
||||
kill(int pid, int sig)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue