Skip to content

Commit 57079dc

Browse files
authored
Fix a mistake
1 parent bed740d commit 57079dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/MyApp/src/MyApp.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using Random
99
# We seem to get problems with LLVMExtra_jll on Julia 1.6 and 1.9
1010
# Issue for 1.6: https://github.com/JuliaLang/PackageCompiler.jl/issues/706
1111
# There's no GitHub Issue for 1.9
12-
@static if (VERSION >= v"1.7.0") && !(VERSION.major == 1 && VERSION.major == 9)
12+
@static if (VERSION >= v"1.7.0") || !(VERSION.major == 1 && VERSION.major == 9)
1313
using LLVMExtra_jll
1414
end
1515

@@ -89,7 +89,7 @@ function real_main()
8989
@eval @everywhere using Example
9090
@everywhere println(Example.domath(3))
9191

92-
@static if (VERSION >= v"1.7.0") && !(VERSION.major == 1 && VERSION.major == 9)
92+
@static if (VERSION >= v"1.7.0") || !(VERSION.major == 1 && VERSION.major == 9)
9393
if isfile(LLVMExtra_jll.libLLVMExtra_path)
9494
println("LLVMExtra path: ok!")
9595
else

0 commit comments

Comments
 (0)