Skip to content

Commit 4c7bee1

Browse files
Update src/ccalls.jl
Co-authored-by: Christian Guinard <28689358+christiangnrd@users.noreply.github.com>
1 parent 2a280de commit 4c7bee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ccalls.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ render_arg(io, arg::Base.RefValue{T}) where {T} = print(io, "Ref{", T, "}")
9595
# when callbacks occur, the code should ensure the GC is not running by wrapping the code
9696
# in the `@gcunsafe` macro
9797

98-
const HAS_CCALL_GCSAFE = VERSION >= v"1.13.0-DEV.70"
98+
const HAS_CCALL_GCSAFE = VERSION >= v"1.13.0-DEV.70" || v"1.12-DEV.2029" <= VERSION < v"1.13-"
9999

100100
"""
101101
@gcsafe_ccall ...

0 commit comments

Comments
 (0)