summaryrefslogtreecommitdiff
path: root/debian/patches/81_hurd_more_max_path.diff
blob: b3e7838ed95a2536de10144f2d019a16917ce76b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
define MAX_PATH if not defined.  This is needed on hurd.
Patch by Michael Banck
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485931

--- a/src/3rdparty/clucene/src/CLucene/config/compiler.h
+++ b/src/3rdparty/clucene/src/CLucene/config/compiler.h
@@ -147,7 +147,7 @@
 #elif defined(_MAX_PATH)
 #define CL_MAX_PATH _MAX_PATH
 #else
- #error "CL_MAX_PATH could not be determined"
+ #define CL_MAX_PATH 4096
 #endif
 
 //this is the max filename... for now its just the same,