Skip to content

Commit fd67cf7

Browse files
authored
Update StaticArrayInterface.jl
1 parent ca17f15 commit fd67cf7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/StaticArrayInterface.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,9 @@ include("broadcast.jl")
488488

489489
@static if !isdefined(Base, :get_extension)
490490
import Requires
491+
end
492+
493+
@static if !isdefined(Base, :get_extension)
491494
function __init__()
492495
Requires.@require StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" begin include("../ext/StaticArrayInterfaceStaticArraysExt.jl") end
493496
Requires.@require OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" begin include("../ext/StaticArrayInterfaceOffsetArraysExt.jl") end

0 commit comments

Comments
 (0)