summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qendian.h
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kdab.com>2016-06-09 11:17:54 +0300
committerBogDan Vatra <bogdan@kdab.com>2016-06-21 18:58:27 +0000
commit930e750b7aca024b839c9856cfcc79aab8c0abbc (patch)
treea0afdc6f7d72575a78c2dc8ceffe482f48efc9fb /src/corelib/global/qendian.h
parent5f0ec7305e4310123ddeb98d3523087e3c560d9c (diff)
Remove duplicated QT_HAS_BUILTIN define
QT_HAS_BUILTIN is already defined in qcompilerdetection.h which is included in qglobal.h which is included in this header file. Task-number: QTBUG-54068 Change-Id: I46c2e13d85fc21d3e6c426d0f35a584b21ae792b Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/corelib/global/qendian.h')
-rw-r--r--src/corelib/global/qendian.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h
index c2028289a7..4e9cd2e6e3 100644
--- a/src/corelib/global/qendian.h
+++ b/src/corelib/global/qendian.h
@@ -49,12 +49,6 @@
QT_BEGIN_NAMESPACE
-#ifdef __has_builtin
-# define QT_HAS_BUILTIN(x) __has_builtin(x)
-#else
-# define QT_HAS_BUILTIN(x) 0
-#endif
-
/*
* ENDIAN FUNCTIONS
*/