summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base.opam2
-rw-r--r--src/int_math_stubs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/base.opam b/base.opam
index bbca95b..a614a8e 100644
--- a/base.opam
+++ b/base.opam
@@ -1,5 +1,5 @@
opam-version: "2.0"
-version: "v0.16.2"
+version: "v0.16.3"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/base"
diff --git a/src/int_math_stubs.c b/src/int_math_stubs.c
index 64da39d..4e81623 100644
--- a/src/int_math_stubs.c
+++ b/src/int_math_stubs.c
@@ -189,7 +189,7 @@ CAMLprim value Base_int_math_nativeint_ctz(value v) {
return Val_int(Base_int_math_nativeint_ctz_unboxed(Nativeint_val(v)));
}
-CAMLprim value __attribute__((weak))
+CAMLprim CAMLweakdef value
caml_csel_value(value v_cond, value v_true, value v_false) {
return (Bool_val(v_cond) ? v_true : v_false);
}