summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-28 02:39:29 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-28 02:39:29 +0000
commitc1454b3acbc28ea629b49ea758a1ba43b6fa01ee (patch)
treeb174b12dba3fcee7dc2162d7d13df4d88b8377e9 /win32/win32.h
parenta13ebdb8364025f15352670431d1f6db34f9df30 (diff)
* 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
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index c5873c62b7..b33d075e66 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -53,6 +53,7 @@ extern "C++" {
#include <process.h>
#include <time.h>
#include <math.h>
+#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#if !defined(__BORLANDC__)
@@ -273,6 +274,14 @@ extern char *rb_w32_strerror(int);
#endif
+#ifndef SIGINT
+#define SIGINT 2
+#endif
+#ifndef SIGKILL
+#define SIGKILL 9
+#endif
+
+
/* #undef va_start */
/* #undef va_end */