summarylogtreecommitdiffstats
path: root/Misc.cpp.patch
blob: 1249c824ef554ce4a5d89fda5f04bfcac5e9eba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/qttools/src/assistant/3rdparty/clucene/src/CLucene/util/Misc.cpp	2015-10-13 01:38:13.000000000 -0300
+++ b/qttools/src/assistant/3rdparty/clucene/src/CLucene/util/Misc.cpp	2016-02-28 12:04:12.637069234 -0300
@@ -10,6 +10,18 @@
 #include "Misc.h"

 #ifdef _CL_TIME_WITH_SYS_TIME
+#undef _CL_TIME_WITH_SYS_TIME
+#endif
+
+#ifdef _CL_HAVE_SYS_TIME_H
+#undef _CL_HAVE_SYS_TIME_H
+#endif
+
+#ifdef _CL_HAVE_SYS_TIMEB_H
+#undef _CL_HAVE_SYS_TIMEB_H
+#endif
+
+#ifdef _CL_TIME_WITH_SYS_TIME
 # include <sys/time.h>
 # include <time.h>
 #else