mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-05 09:30:35 +03:00
comp.c: Fix name clash with ZLIB macro "compress" (#418)
File: comp.c Notes: * Fix name clash with ZLIB macro "compress". Credit: Zenju
This commit is contained in:
@@ -38,7 +38,8 @@
|
||||
|
||||
#include "libssh2_priv.h"
|
||||
#ifdef LIBSSH2_HAVE_ZLIB
|
||||
# include <zlib.h>
|
||||
#include <zlib.h>
|
||||
#undef compress /* dodge name clash with ZLIB macro */
|
||||
#endif
|
||||
|
||||
#include "comp.h"
|
||||
|
||||
Reference in New Issue
Block a user