2015-05-11 11:06:55 +02:00
|
|
|
--- qtbase/src/corelib/codecs/qiconvcodec.cpp.orig
|
|
|
|
+++ qtbase/src/corelib/codecs/qiconvcodec.cpp
|
2015-05-11 10:48:38 +02:00
|
|
|
@@ -62,7 +62,7 @@
|
|
|
|
#elif defined(Q_OS_AIX)
|
|
|
|
# define NO_BOM
|
|
|
|
# define UTF16 "UCS-2"
|
|
|
|
-#elif defined(Q_OS_FREEBSD) || defined(Q_OS_MAC)
|
|
|
|
+#elif defined(Q_OS_FREEBSD) || defined(Q_OS_MAC) || (defined(Q_OS_LINUX) && !defined(__GLIBC__))
|
|
|
|
# define NO_BOM
|
|
|
|
# if Q_BYTE_ORDER == Q_BIG_ENDIAN
|
|
|
|
# define UTF16 "UTF-16BE"
|