From cd51d382be50bc021739395309e23760f1619759 Mon Sep 17 00:00:00 2001 From: ar Date: Fri, 21 Jan 2005 19:56:15 +0000 Subject: - make opie compilable against qte 2.3.10 snapshot check QT_VERSION against 0x030000 instead of 300 --- (limited to 'noncore/apps/tinykate') diff --git a/noncore/apps/tinykate/libkate/qt3back/qregexp3.cpp b/noncore/apps/tinykate/libkate/qt3back/qregexp3.cpp index 78635b2..7b30b1a 100644 --- a/noncore/apps/tinykate/libkate/qt3back/qregexp3.cpp +++ b/noncore/apps/tinykate/libkate/qt3back/qregexp3.cpp @@ -34,11 +34,11 @@ ** not clear to you. ** **********************************************************************/ -#if QT_VERSION >=300 +#if QT_VERSION >= 0x030000 #error QRegExp3 is now in QT 3 use QRegExp instead #endif -#if QT_VERSION < 300 +#if QT_VERSION < 0x030000 #include "./qregexp3.h" #else #include "qregexp.h" diff --git a/noncore/apps/tinykate/libkate/qt3back/qregexp3.h b/noncore/apps/tinykate/libkate/qt3back/qregexp3.h index 5b75131..fd6bc78 100644 --- a/noncore/apps/tinykate/libkate/qt3back/qregexp3.h +++ b/noncore/apps/tinykate/libkate/qt3back/qregexp3.h @@ -42,7 +42,7 @@ #endif // QT_H -#if QT_VERSION >=300 +#if QT_VERSION >= 0x030000 #include #else class QRegExpEngine; @@ -107,5 +107,5 @@ private: QRegExpEngine *eng; QRegExpPrivate *priv; }; -#endif // QT_VERSION >= 300 +#endif // QT_VERSION >= 0x030000 #endif // QREGEXP_H -- cgit v0.9.0.2