1 diff -ur ocaml-3.04/byterun/meta.c ocaml-3.04-/byterun/meta.c
2 --- ocaml-3.04/byterun/meta.c Fri Dec 7 14:39:32 2001
3 +++ ocaml-3.04-/byterun/meta.c Fri May 10 10:03:30 2002
5 return Val_unit; /* not reached */
10 +value * stack_threshold;
13 +int backtrace_active;
15 +code_t * backtrace_buffer;
16 +value backtrace_last_exn;
18 +int volatile something_to_do;
19 +void (* volatile async_action_hook)(void);
20 +void print_exception_backtrace(void) { }
21 +struct longjmp_buffer * external_raise;
24 diff -ur ocaml-3.04/otherlibs/systhreads/Makefile ocaml-3.04-/otherlibs/systhreads/Makefile
25 --- ocaml-3.04/otherlibs/systhreads/Makefile Fri May 10 10:15:25 2002
26 +++ ocaml-3.04-/otherlibs/systhreads/Makefile Fri May 10 10:12:23 2002
28 allopt: libthreadsnat.a threads.cmxa
30 libthreads.a: $(BYTECODE_C_OBJS)
31 - $(MKLIB) -o threads $(BYTECODE_C_OBJS)
32 + $(MKLIB) -o threads $(BYTECODE_C_OBJS) $(PTHREAD_LINK)
35 $(BYTECC) -O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \