mirror of
https://github.com/ioquake/launch.git
synced 2024-11-24 20:21:06 +00:00
Merge pull request #13 from jpcy/fix-windows-zlib-path
Fix zlib header path on windows.
This commit is contained in:
commit
ef78a8b2b8
3 changed files with 14 additions and 0 deletions
|
@ -42,7 +42,12 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <QtZlib/zlib.h>
|
||||||
|
#else
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(USE_FILE32API)
|
#if defined(USE_FILE32API)
|
||||||
#define fopen64 fopen
|
#define fopen64 fopen
|
||||||
|
|
|
@ -72,7 +72,12 @@
|
||||||
#define NOUNCRYPT
|
#define NOUNCRYPT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <QtZlib/zlib.h>
|
||||||
|
#else
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "unzip.h"
|
#include "unzip.h"
|
||||||
|
|
||||||
#ifdef STDC
|
#ifdef STDC
|
||||||
|
|
|
@ -48,8 +48,12 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _ZLIB_H
|
#ifndef _ZLIB_H
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <QtZlib/zlib.h>
|
||||||
|
#else
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _ZLIBIOAPI_H
|
#ifndef _ZLIBIOAPI_H
|
||||||
#include "ioapi.h"
|
#include "ioapi.h"
|
||||||
|
|
Loading…
Reference in a new issue