summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Glondu <steph@glondu.net>2023-09-30 21:06:23 +0200
committerStephane Glondu <steph@glondu.net>2023-09-30 21:06:23 +0200
commitd1af9a9e51f0136bc2546dfad841c98fcc7e8dcb (patch)
treef95b9044c3b99392ae70c4fd68aa681e7dd1447a
parent96fd0167728e25bff120196a9275e85a96d0f8b4 (diff)
New upstream version 0.16.3
-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);
}