Added some defines to avoid zlib linking problems in VC
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1306 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -33,6 +33,19 @@ typedef struct uio_GPDirEntries_Iterator *uio_NativeEntriesContext;
|
|||||||
#include "../types.h"
|
#include "../types.h"
|
||||||
#include "../fileblock.h"
|
#include "../fileblock.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// these are needed to avoid zlib linking problems in VC
|
||||||
|
#ifndef ZLIB_WINAPI
|
||||||
|
#define ZLIB_WINAPI
|
||||||
|
#endif
|
||||||
|
#ifndef ZLIB_DLL
|
||||||
|
#define ZLIB_DLL
|
||||||
|
#endif
|
||||||
|
#ifndef _WINDOWS
|
||||||
|
#define _WINDOWS
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user