Skip to content

Commit

Permalink
Add a 1.1 compatibility note to the docstrings
Browse files Browse the repository at this point in the history
Co-Authored-By: ararslan <[email protected]>
  • Loading branch information
fredrikekre and ararslan committed Dec 4, 2018
1 parent ff2d7a8 commit 9c61443
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ for bsd in (:FreeBSD, :OpenBSD, :NetBSD, :DragonFly)
!!! note
Not to be confused with `Sys.isbsd()`, which is `true` on $($s) but also on
other BSD-based systems. `Sys.$($f)()` refers only to $($s).
!!! compat "Julia 1.1"
This function requires at least Julia 1.1.
"""
$f(os::Symbol) = (os === $(QuoteNode(bsd)))
$f() = $(getfield(@__MODULE__, f)(KERNEL))
Expand Down

0 comments on commit 9c61443

Please sign in to comment.