Files
ray/vsprojects/zstub.c
T
mehrdadnandRobert Nishihara c5be9b96de Visual Studio - Project cleanup, warning suppression, and removal of zlib dependency (#272)
* windows_intermodule_singleton warning

* Fix some warnings from Visual Studio

* More Visual Studio project changes

* Replace zlib Visual Studio project with stub; it's not needed

* Un-enable link-time code generation
2016-07-16 13:02:51 -07:00

17 lines
899 B
C

#ifdef __cplusplus
extern "C" {
#endif
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; }
int deflateInit2_(struct z_stream_s *strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) { return -2; }
int inflate(struct z_stream_s *strm, int flush) { return -2; }
int inflateEnd(struct z_stream_s *strm) { return -2; }
int inflateInit_(struct z_stream_s *stream, const char *version, int stream_size) { return -2; }
int inflateInit2_(struct z_stream_s *strm, int windowBits, const char *version, int stream_size) { return -2; }
const char *gzerror(struct gzFile_s * file, int *errnum) { return 0; }
const char *zError(int err) { return 0; }
#ifdef __cplusplus
}
#endif