QTscii and QIscii are not big codecs
authorPeter Kümmel <syntheticpp@gmx.net>
Tue, 23 Oct 2012 07:03:15 +0000 (09:03 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 3 Nov 2012 15:16:35 +0000 (16:16 +0100)
This fixes the build when QT_NO_BIG_CODECS is defined.

Change-Id: I832fb8ba5df6c4a6c1db9bdaecc498690357a56a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/codecs/qisciicodec.cpp
src/corelib/codecs/qisciicodec_p.h
src/corelib/codecs/qtsciicodec.cpp
src/corelib/codecs/qtsciicodec_p.h

index d2d6376..2eeeb24 100644 (file)
@@ -42,7 +42,7 @@
 #include "qtextcodec_p.h"
 #include "qlist.h"
 
-#ifndef QT_NO_BIG_CODECS
+#ifndef QT_NO_CODECS
 
 QT_BEGIN_NAMESPACE
 
@@ -293,4 +293,4 @@ QString QIsciiCodec::convertToUnicode(const char* chars, int len, ConverterState
 
 QT_END_NAMESPACE
 
-#endif // QT_NO_BIG_CODECS
+#endif // QT_NO_CODECS
index 8482f2a..a1bc0bf 100644 (file)
@@ -57,7 +57,7 @@
 
 QT_BEGIN_NAMESPACE
 
-#ifndef QT_NO_BIG_CODECS
+#ifndef QT_NO_CODECS
 
 class QIsciiCodec : public QTextCodec {
 public:
index 0933289..c45f966 100644 (file)
@@ -46,7 +46,7 @@
 #include "qtsciicodec_p.h"
 #include "qlist.h"
 
-#ifndef QT_NO_BIG_CODECS
+#ifndef QT_NO_CODECS
 
 QT_BEGIN_NAMESPACE
 
@@ -496,4 +496,4 @@ static unsigned int qt_TSCIIToUnicode(uint code, uint *s)
 
 QT_END_NAMESPACE
 
-#endif // QT_NO_BIG_CODECS
+#endif // QT_NO_CODECS
index 4a5727a..ea83391 100644 (file)
@@ -86,7 +86,7 @@
 
 QT_BEGIN_NAMESPACE
 
-#ifndef QT_NO_BIG_CODECS
+#ifndef QT_NO_CODECS
 
 class QTsciiCodec : public QTextCodec {
 public:
@@ -99,7 +99,7 @@ public:
     QByteArray convertFromUnicode(const QChar *, int, ConverterState *) const;
 };
 
-#endif // QT_NO_BIG_CODECS
+#endif // QT_NO_CODECS
 
 QT_END_NAMESPACE