Revision 8ebc79b,
450 bytes
checked in by Hal Finkel <hfinkel@…>, 8 years ago
(diff) |
Add the other internal compression libraries from blocs
|
-
Property mode set to
100644
|
Rev | Line | |
---|
[8ebc79b] | 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 | |
---|
| 5 | #include "snappy-stubs-public.h" |
---|
| 6 | |
---|
| 7 | +// Windows does not define ssize_t by default. This is a workaround. |
---|
| 8 | +// Please note that this is only defined in the Blosc sources of Snappy. |
---|
| 9 | +#if defined(_WIN32) && !defined(__MINGW32__) |
---|
| 10 | +#include <BaseTsd.h> |
---|
| 11 | +typedef SSIZE_T ssize_t; |
---|
| 12 | +#endif |
---|
| 13 | + |
---|
| 14 | + |
---|
| 15 | namespace snappy { |
---|
| 16 | class Source; |
---|
| 17 | class Sink; |
---|
Note: See
TracBrowser
for help on using the repository browser.