diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-08 23:13:25 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2024-03-08 23:13:25 +0300 |
commit | df2b04abca1579b32471ffc445c483f93d088d53 (patch) | |
tree | b9b53a5c7502ea06fbda734f543798d7b5b61847 | |
parent | 84df939ab9ed323d88c33d46dcfd6f7cdb830572 (diff) | |
download | tqt3-df2b04abca1579b32471ffc445c483f93d088d53.tar.gz tqt3-df2b04abca1579b32471ffc445c483f93d088d53.zip |
cmake: rename Q -> TQ for Q_BIG_ENDIAN, Q_LITTLE_ENDIAN and Q_BYTE_ORDER
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
-rw-r--r-- | config.tests/unix/endian/ConfigureChecks.cmake | 4 | ||||
-rw-r--r-- | include/ntqconfig.h.cmake | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/config.tests/unix/endian/ConfigureChecks.cmake b/config.tests/unix/endian/ConfigureChecks.cmake index 4fe0006c6..6a23642f9 100644 --- a/config.tests/unix/endian/ConfigureChecks.cmake +++ b/config.tests/unix/endian/ConfigureChecks.cmake @@ -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() diff --git a/include/ntqconfig.h.cmake b/include/ntqconfig.h.cmake index b9b292343..a1bd37da2 100644 --- a/include/ntqconfig.h.cmake +++ b/include/ntqconfig.h.cmake @@ -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 |