Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The FFI functions in chipmunk_ffi are not exported with mingw GCC on windows #121

Open
viblo opened this issue Jan 30, 2016 · 0 comments
Open

Comments

@viblo
Copy link

viblo commented Jan 30, 2016

When compiling on Windows with mingw-64 gcc, the function pointers created in chipmunk_ffi are not exported as expected.
If I replace
#define CP_EXPORT __declspec(dllexport)
with
#define CP_EXPORT
in chipmunk.h in the ifdef block for WIN32 it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant