summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--signal.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 73b4a019c1..d2fc6ee362 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun May 12 17:05:18 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * signal.c (rb_f_kill): fixes typo. s/HAS_KILLPG/HAVE_KILLPG/.
+
Sun May 12 17:03:27 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: abort if gettimeofday doesn't exist.
diff --git a/signal.c b/signal.c
index 700bd6028a..7b58840d28 100644
--- a/signal.c
+++ b/signal.c
@@ -364,7 +364,7 @@ ruby_default_signal(int sig)
VALUE
rb_f_kill(int argc, VALUE *argv)
{
-#ifndef HAS_KILLPG
+#ifndef HAVE_KILLPG
#define killpg(pg, sig) kill(-(pg), (sig))
#endif
int negative = 0;