Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / clucene / patches / clucene-internal-zlib.patch
blob6667926344560f127e3b208cb9ac01fa1137e31b
1 --- src/shared/CLucene/util/Misc.cpp 2012-02-17 15:33:09.217891100 +0000
2 +++ src/shared/CLucene/util/Misc.cpp 2012-02-17 15:38:10.836597500 +0000
3 @@ -34,7 +34,11 @@
4 #include "CLucene/util/dirent.h" //if we have dirent, then the native one will be used
6 //for zlib...
7 -#include "zlib.h"
8 +#ifdef SYSTEM_ZLIB
9 +#include <zlib.h>
10 +#else
11 +#include <external/zlib/zlib.h>
12 +#endif
13 #if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
14 # include <fcntl.h>
15 # include <io.h>