Giter Site home page Giter Site logo

Comments (2)

koraktor avatar koraktor commented on May 28, 2024

Looks like Iā€™m unable to reproduce this. Can you give some detail about your setup (Windows, Ruby, bzip2 versions)?

from rbzip2.

mbudnek avatar mbudnek commented on May 28, 2024

I'm using Ruby 2.2.5 32-bit from rubyinstaller.org, bzip2 1.0.6 built with Visual Studio 2010, FFI 1.9.18, and rbzip2 0.3.0.

I expect any version of Visual Studio will have this problem. You can see where bzip2 defines BZ_API(func) to WINAPI func (WINAPI being a macro that expands to __stdcall) on line 85 of bzlib.h. If you're building bzip2 with MinGW or similar then _WIN32 may not be defined, in which case the API will use the cdecl convention.

from rbzip2.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.