cmake: rename Q -> TQ for Q_BIG_ENDIAN, Q_LITTLE_ENDIAN and Q_BYTE_ORDER

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
feat/cmakeConv-r1
Alexander Golubev 9 months ago
parent 84df939ab9
commit df2b04abca

@ -13,7 +13,7 @@ include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
if( ${WORDS_BIGENDIAN} )
set( _ENDIAN "Q_BIG_ENDIAN" )
set( _ENDIAN "TQ_BIG_ENDIAN" )
else()
set( _ENDIAN "Q_LITTLE_ENDIAN" )
set( _ENDIAN "TQ_LITTLE_ENDIAN" )
endif()

@ -8,9 +8,9 @@
#define TQT_BUILD_KEY "@_HOST_SYSTEM_PROCESSOR@ @_HOST_SYSTEM_NAME@ @_COMPILER_NAME@ @_TQT_CONFIG_STRING@"
/* Machine byte-order */
#define Q_BIG_ENDIAN 4321
#define Q_LITTLE_ENDIAN 1234
#define Q_BYTE_ORDER @_ENDIAN@
#define TQ_BIG_ENDIAN 4321
#define TQ_LITTLE_ENDIAN 1234
#define TQ_BYTE_ORDER @_ENDIAN@
/* Compile time features */
#cmakedefine QT_LARGEFILE_SUPPORT 64

Loading…
Cancel
Save