msvc1.patch 450 B

1234567891011121314151617
  1. --- a/internal-complibs/snappy-1.1.1/snappy.h
  2. +++ b/internal-complibs/snappy-1.1.1/snappy.h
  3. @@ -44,6 +44,14 @@
  4. #include "snappy-stubs-public.h"
  5. +// Windows does not define ssize_t by default. This is a workaround.
  6. +// Please note that this is only defined in the Blosc sources of Snappy.
  7. +#if defined(_WIN32) && !defined(__MINGW32__)
  8. +#include <BaseTsd.h>
  9. +typedef SSIZE_T ssize_t;
  10. +#endif
  11. +
  12. +
  13. namespace snappy {
  14. class Source;
  15. class Sink;