lib/spotify.rb in spotify-12.5.2 vs lib/spotify.rb in spotify-12.5.3
- old
+ new
@@ -28,9 +28,10 @@
class API
extend FFI::Library
begin
ffi_lib [LIBSPOTIFY_BIN, 'spotify', 'libspotify', '/Library/Frameworks/libspotify.framework/libspotify']
+ ffi_convention :stdcall if FFI::Platform.windows?
rescue LoadError
puts <<-ERROR.gsub(/^ */, '')
Failed to load the `libspotify` library. It is possible that the libspotify gem
does not exist for your platform, in which case you’ll need to install it manually.