Skip to content
Permalink
Browse files

Fix name clash with ZLIB macro "compress"

  • Loading branch information...
Zenju committed Oct 4, 2019
1 parent 336bd86 commit 50802f40116f8b904aff61c166fc041bdf028ac2
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/comp.c
@@ -369,6 +369,7 @@ static const LIBSSH2_COMP_METHOD *no_comp_methods[] = {
const LIBSSH2_COMP_METHOD **
_libssh2_comp_methods(LIBSSH2_SESSION *session)
{
#undef compress /* dodge name clash with ZLIB macro */
if(session->flag.compress)
return comp_methods;
else

0 comments on commit 50802f4

Please sign in to comment.
You can’t perform that action at this time.