Disable compiling some functions in miniz that we don't use, and that cause portability issues.

git-svn-id: https://svn.eduke32.com/eduke32@6421 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-08-06 13:44:47 +00:00
parent 8f0848d901
commit 534747be90

View file

@ -24,6 +24,10 @@
* *
**************************************************************************/ **************************************************************************/
#define MINIZ_NO_ARCHIVE_APIS
#define MINIZ_NO_ARCHIVE_WRITING_APIS
#define MINIZ_NO_STDIO
#include "miniz.h" #include "miniz.h"
typedef unsigned char mz_validate_uint16[sizeof(mz_uint16) == 2 ? 1 : -1]; typedef unsigned char mz_validate_uint16[sizeof(mz_uint16) == 2 ? 1 : -1];