summaryrefslogtreecommitdiff
path: root/src/int_math_stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/int_math_stubs.c')
-rw-r--r--src/int_math_stubs.c2
1 files changed, 1 insertions, 1 deletions
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);
}