Fix zlib header path on windows.

This commit is contained in:
Jonathan Young 2015-11-13 14:09:39 +10:00
parent 5dede16ace
commit b73fc8866d
3 changed files with 14 additions and 0 deletions

View file

@ -42,7 +42,12 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef WIN32
#include <QtZlib/zlib.h>
#else
#include <zlib.h>
#endif
#if defined(USE_FILE32API)
#define fopen64 fopen

View file

@ -72,7 +72,12 @@
#define NOUNCRYPT
#endif
#ifdef WIN32
#include <QtZlib/zlib.h>
#else
#include <zlib.h>
#endif
#include "unzip.h"
#ifdef STDC

View file

@ -48,8 +48,12 @@ extern "C" {
#endif
#ifndef _ZLIB_H
#ifdef WIN32
#include <QtZlib/zlib.h>
#else
#include <zlib.h>
#endif
#endif
#ifndef _ZLIBIOAPI_H
#include "ioapi.h"