src: fix windows build error
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 11 Nov 2014 11:06:55 +0000 (12:06 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 11 Nov 2014 12:21:19 +0000 (13:21 +0100)
commitbe413ac732f59ffe621f264239e5e22b77d32025
tree4080dd605f57f483df57c92d4d8b9e7431f5cfce
parent355b96b605592d753f7381709e4827fa2e5ee29d
src: fix windows build error

Fix a Windows-only build error that was introduced in
commit 1183ba4 ("zlib: support concatenated gzip files").

Rename the NO_ERROR and FAILED enumerations, they conflict
with macros of the same name in <winerror.h>.

PR-URL: https://github.com/node-forward/node/pull/57
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
src/node_zlib.cc