diff --git a/CHANGES.md b/CHANGES.md index de3b8a1..e2d7439 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +### Pending + +- Use `CAMLextern` rather than `extern` in `caml_*` forward declarations to + support bytecode linking on Windows (@jonahbeckford, #157) + ### v1.2.0 2024-03-18 Paris (France) - Update the description to include SHA3 (@Leonidas-from-XIV, #146) diff --git a/src-c/native/stubs.c b/src-c/native/stubs.c index e241053..e9f1965 100644 --- a/src-c/native/stubs.c +++ b/src-c/native/stubs.c @@ -46,8 +46,8 @@ * these functions still exist! */ -extern void caml_enter_blocking_section (void); -extern void caml_leave_blocking_section (void); +CAMLextern void caml_enter_blocking_section (void); +CAMLextern void caml_leave_blocking_section (void); #define __define_ba_update(name) \ CAMLprim value \