Skip to content

Commit

Permalink
fixup! Fix: libc/std spec issues on NetBSD (10.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Oct 22, 2024
1 parent 161845d commit 806ef9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/crystal/system/unix/dir.cr
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ module Crystal::System::Dir

def self.info(dir, path) : ::File::Info
fd = {% if flag?(:netbsd) %}
dir.value.dd_fd
{% else %}
LibC.dirfd(dir)
{% end %}
dir.value.dd_fd
{% else %}
LibC.dirfd(dir)
{% end %}
Crystal::System::FileDescriptor.system_info(fd)
end

Expand Down

0 comments on commit 806ef9b

Please sign in to comment.