Skip to content

Conversation

@pyorokun7
Copy link

Since MSVC only allows the inline keyword to be used on .cpp files, it is needed to check if _MSC_VER is defined, so it can be detected if the compiler is MSVC and use the vendor-specific __inline keyword instead. Without this change, the only way to compile python-snappy is to download the source code, make the change and compile/install manually.

Since MSVC only allows the inline keyword to be used on .cpp files, it is needed to check if _MSC_VER is defined, so it can be detected if the compiler is MSVC and use the vendor-specific __inline keyword instead. Without this change, the only way to compile python-snappy is to download the source code, make the change and compile/install manually.
@martindurant
Copy link
Member

Would be very happy to include this if someone can confirm for me that it works, without affecting builds on osx/linux.

@martindurant
Copy link
Member

Same as #55 ?

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

Successfully merging this pull request may close these issues.

2 participants