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