From c9b92728fa770c70e7ed14d9b0369652c6f5eac8 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 16 Mar 2015 16:17:31 +0000 Subject: [PATCH] support older QT versions --- src/util.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index 0a6e74c7..c460fb7c 100755 --- a/src/util.h +++ b/src/util.h @@ -39,7 +39,9 @@ #include #include #include -#include +#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0) +# include +#endif #include #include #include "global.h" @@ -1138,6 +1140,7 @@ public: // Timing measurement ---------------------------------------------------------- // intended for debugging the timing jitter of the sound card or server timer +#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0) class CTimingMeas { public: @@ -1189,6 +1192,7 @@ protected: QElapsedTimer ElapsedTimer; int iCnt; }; +#endif /******************************************************************************\