summaryrefslogtreecommitdiffstats
path: root/main/qt/qt-clucene-timeb.patch
blob: a0d3ed640056f70c42430383d2fefaa8300183dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- qt-everywhere-opensource-src-4.8.5/src/3rdparty/clucene/src/CLucene/util/Misc.cpp.orig
+++ qt-everywhere-opensource-src-4.8.5/src/3rdparty/clucene/src/CLucene/util/Misc.cpp
@@ -20,11 +20,11 @@
 # endif
 #endif
 
-#ifdef _CL_HAVE_SYS_TIMEB_H
+#ifndef UNDER_CE
+#ifdef _defined(_CLCOMPILER_MSVC) || defined(__MINGW32__) || defined(__BORLANDC__)
 # include <sys/timeb.h>
 #endif
-
-#ifdef UNDER_CE
+#else
 #include <QTime>
 #endif