buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djspie...@apache.org
Subject svn commit: r917597 - /buildr/trunk/lib/buildr/core/util.rb
Date Mon, 01 Mar 2010 17:15:24 GMT
Author: djspiewak
Date: Mon Mar  1 17:15:24 2010
New Revision: 917597

URL: http://svn.apache.org/viewvc?rev=917597&view=rev
Log:
Use LIBC directly for FFI init on windows (Pepijn Van Eeckhoudt)

Modified:
    buildr/trunk/lib/buildr/core/util.rb

Modified: buildr/trunk/lib/buildr/core/util.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/util.rb?rev=917597&r1=917596&r2=917597&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/util.rb (original)
+++ buildr/trunk/lib/buildr/core/util.rb Mon Mar  1 17:15:24 2010
@@ -407,7 +407,7 @@
   module FileUtils
     extend FFI::Library
     
-    ffi_lib 'c' if Buildr::Util::win_os?
+    ffi_lib FFI::Platform::LIBC if Buildr::Util::win_os?
     
     alias_method :__jruby_system__, :system
     attach_function :system, [:string], :int



Mime
View raw message