diff options
Diffstat (limited to 'community/qt/qt-clucene-timeb.patch')
-rw-r--r-- | community/qt/qt-clucene-timeb.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/qt/qt-clucene-timeb.patch b/community/qt/qt-clucene-timeb.patch new file mode 100644 index 0000000000..a0d3ed6400 --- /dev/null +++ b/community/qt/qt-clucene-timeb.patch @@ -0,0 +1,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 + |