snappy.cc will not compile on Windows x64

Issue #1 wontfix
Robert Važan repo owner created an issue

Originally submitted by adrido.

Compiling snappy.cc fails in x64 mode.

As you can read here WIN32 is only defined in x86 build mode, while _WIN32 is defined in x86 and x64 build mode.

In the File snappy.cc line 955 you are using #ifndef WIN32 which is only defined in x32 build mode. So compiling in x64 fails. changing line 955 to #ifndef _WIN32 would it also make able to compile on win x64

PS: I use the NuGet package so it would nice if you can update it after solving this problem.

Comments (1)

  1. Log in to comment