mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 20:13:10 +00:00
remove zlib.h from header to xeromyces.cpp
it's only used to forward-declare a function used in the impl => shouldn't be in header also added ZLIB_DLL before zlib.h This was SVN commit r1375.
This commit is contained in:
@@ -41,9 +41,6 @@
|
||||
# define new new(_NORMAL_BLOCK, __FILE__, __LINE__)
|
||||
#endif
|
||||
|
||||
#define ZLIB_WINAPI
|
||||
#include "zlib.h" // for crc32
|
||||
|
||||
#include "lib/res/handle.h"
|
||||
#include "lib.h"
|
||||
#include "XercesErrorHandler.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: Xeromyces.cpp,v 1.15 2004/09/22 11:51:43 philip Exp $
|
||||
// $Id: Xeromyces.cpp,v 1.16 2004/11/22 00:19:08 janwas Exp $
|
||||
|
||||
#include "precompiled.h"
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
#include "ps/CLogger.h"
|
||||
#include "lib/res/vfs.h"
|
||||
|
||||
#define ZLIB_DLL
|
||||
#include "zlib.h" // for crc32
|
||||
|
||||
#define LOG_CATEGORY "xml"
|
||||
|
||||
// Because I (and Xerces) don't like these being redefined by wposix.h:
|
||||
|
||||
Reference in New Issue
Block a user