zlib stub comment (#273)

This commit is contained in:
mehrdadn
2016-07-16 14:59:06 -07:00
committed by Robert Nishihara
parent 0f1d7c5835
commit 97270f5aec
+1
View File
@@ -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; }