Cygwin: rename raise => raise_action

Cygwin libc pulls <signal.h> with <setjmp.h>. Function raise() would
conflict with it.
This commit is contained in:
okuoku 2016-08-12 06:36:05 +09:00
parent 47ac6d2cb1
commit 226cb8500a
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ pic_error(pic_state *pic, const char *msg, int n, ...)
}
static pic_value
raise(pic_state *pic)
raise_action(pic_state *pic)
{
pic_get_args(pic, "");
@ -175,7 +175,7 @@ pic_raise(pic_state *pic, pic_value err)
pic_panic(pic, "no exception handler");
}
pic_dynamic_bind(pic, exc, pic_cdr(pic, stack), pic_lambda(pic, raise, 2, pic_car(pic, stack), err));
pic_dynamic_bind(pic, exc, pic_cdr(pic, stack), pic_lambda(pic, raise_action, 2, pic_car(pic, stack), err));
PIC_UNREACHABLE();
}