From 97270f5aec87ace49167857a9f47d6a7c366b7f2 Mon Sep 17 00:00:00 2001 From: mehrdadn Date: Sat, 16 Jul 2016 14:59:06 -0700 Subject: [PATCH] zlib stub comment (#273) --- vsprojects/zstub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vsprojects/zstub.c b/vsprojects/zstub.c index a1e7cba89..3ec30eb52 100644 --- a/vsprojects/zstub.c +++ b/vsprojects/zstub.c @@ -1,6 +1,7 @@ #ifdef __cplusplus extern "C" { #endif +// We don't need zlib, and this stub is to allow us to avoid compiling it as a dependency int deflate(struct z_stream_s *strm, int flush) { return -2; } int deflateEnd(struct z_stream_s *strm) { return -2; } int deflateInit_(struct z_stream_s *stream, int level, const char *version, int stream_size) { return -2; }