Esenthel Changes.txt 620 B

123456789101112131415161718
  1. The 3 files in the project need to have .cc extension changed to .cpp because Emscripten fails to compile.
  2. Snapy.cpp (this will improve compression significantly)
  3. uint32 bytes_between_hash_lookups = skip >> 5;
  4. skip += bytes_between_hash_lookups;
  5. replace with:
  6. uint32 bytes_between_hash_lookups = skip++ >> 5;
  7. "snappy-stubs-public.h" did not exist in the main branch, but was included in a public release, so it was copied from there.
  8. comment out all:
  9. #include <string>
  10. #include <vector>
  11. typedef std::string string;
  12. but keep:
  13. #include <string.h>
  14. comment out all functions that use 'string'