Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/ruby/jruby/kernel/file.rb
Original file line number Diff line number Diff line change
@@ -57,6 +57,8 @@ def self.attach_pfunc(*args)
attach_pfunc :PathRemoveExtensionW, [:buffer_in], :void
attach_pfunc :PathStripToRootW, [:buffer_in], :bool

ffi_lib :kernel32

# We use the presence or absence of this method to indicate everything bound successfully (jruby/jruby#3998)
attach_pfunc :CreateSymbolicLinkW, [:buffer_in, :buffer_in, :dword], :bool
rescue FFI::NotFoundError

0 comments on commit 8537a2b

Please sign in to comment.