GitHub user NorthNick opened a pull request:
https://github.com/apache/couchdb-snappy/pull/5
Support snappy Windows compilation
Windows does not understand ssize_t, so this change brings in the relevant
header file. A more autoconf-y way of doing it might be to put the change into
a new config.h file and set the HAVE_CONFIG_H flag. That would maintain closer
compatibility with the original snappy code, but be a bit more complex in rebar
configuration.
Bringing in BaseTsd.h generates quite a lot of compiler cruft. We might
just directly typedef ssize_t to something, but that runs the risk of errors in
the future if the right thing to typedef it to changes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NorthNick/couchdb-snappy master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-snappy/pull/5.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5
----
commit e9c914f19f404737ba1bd76381573c4a573258f0
Author: NickNorth <[email protected]>
Date: 2016-01-20T09:37:48Z
Support Windows compilation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---