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

Remove CP_EXPORT force declaring for Win32 #253

Open
DDeimos opened this issue Sep 23, 2024 · 1 comment
Open

Remove CP_EXPORT force declaring for Win32 #253

DDeimos opened this issue Sep 23, 2024 · 1 comment

Comments

@DDeimos
Copy link

DDeimos commented Sep 23, 2024

Hi!
There is this declaration in chipmunk.h:

#ifdef _WIN32
	#define CP_EXPORT __declspec(dllexport)
#else
	#define CP_EXPORT
#endif

I would prefer to add Chipmunk source files to my project directly. Is it possible if you add some macro options to add Chipmunk sources either directly or as static/dynamic library?

@viblo
Copy link

viblo commented Nov 21, 2024

Just putting it here: Could you define __declspec(dllexport) as empty string as a workaround?

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

2 participants