summaryrefslogtreecommitdiffstats
path: root/src/corelib/codecs/qjiscodec_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-09-13 12:45:20 +0200
committerLiang Qi <liang.qi@qt.io>2018-10-12 14:26:22 +0000
commit4e7b58629a0a431fbd5c0ba287c3958efd05da13 (patch)
tree29a73deaef68690a24e567cf116c31206cb17a75 /src/corelib/codecs/qjiscodec_p.h
parentc593492d1678a2ec08f1bfffcb572459b3bc6c00 (diff)
Modernize the "big_codecs" feature
Change-Id: Ic23f4a1f81a21711cd81aaa2942b493aca5b38b8 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/corelib/codecs/qjiscodec_p.h')
-rw-r--r--src/corelib/codecs/qjiscodec_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/corelib/codecs/qjiscodec_p.h b/src/corelib/codecs/qjiscodec_p.h
index 4db8728817..c3eda25bdf 100644
--- a/src/corelib/codecs/qjiscodec_p.h
+++ b/src/corelib/codecs/qjiscodec_p.h
@@ -84,9 +84,9 @@
#include <QtCore/qtextcodec.h>
#include <QtCore/qlist.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(big_codecs);
-#ifndef QT_NO_BIG_CODECS
+QT_BEGIN_NAMESPACE
class QJisCodec : public QTextCodec {
public:
@@ -108,8 +108,6 @@ protected:
const QJpUnicodeConv *conv;
};
-#endif // QT_NO_BIG_CODECS
-
QT_END_NAMESPACE
#endif // QJISCODEC_P_H