summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qsysinfo.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-03-08 10:25:13 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-09 18:50:52 +0100
commit8b7ea1273d562f91b23804b73f2a7ec10ef9610d (patch)
tree5ab2d3223500d6f8a715af00ff21523a2e0f6706 /src/corelib/global/qsysinfo.h
parent8a15c41d36b1905a20fdbf506dee9ddb8930a434 (diff)
byteorder: Improve the implementation comments for auto-detect
Parts of the auto-detection is using __BYTE_ORDER__. This pre-processor macro was added in GCC 4.6. Document that in the auto-detection code. Remove the misleading error message in qsysinfo.h. Change-Id: I66430ba1c9a1cdf476889ae6d5f3ca476243e000 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/corelib/global/qsysinfo.h')
-rw-r--r--src/corelib/global/qsysinfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/global/qsysinfo.h b/src/corelib/global/qsysinfo.h
index e6e207ec3d..74c8d1de7f 100644
--- a/src/corelib/global/qsysinfo.h
+++ b/src/corelib/global/qsysinfo.h
@@ -80,8 +80,6 @@ public:
# error "Undefined byte order"
# endif
};
-#else
-# error "Qt not configured correctly, please run configure"
#endif
#if defined(Q_OS_WIN) || defined(Q_OS_CYGWIN)
enum WinVersion {