Fix detection whether the system is big endian

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 783e11f17e)
r14.0.x
Slávek Banko 8 years ago
parent 07a9f1d5f0
commit 7004b7a22e

@ -10,5 +10,10 @@
################################################# #################################################
# required stuff # required stuff
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
find_package( TQt ) find_package( TQt )
find_package( TDE ) find_package( TDE )

@ -1 +1,5 @@
#define TDENETWORKMANAGER_VERSION_STRING "@TDENETWORKMANAGER_VERSION@" #define TDENETWORKMANAGER_VERSION_STRING "@TDENETWORKMANAGER_VERSION@"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@

@ -12,6 +12,8 @@
* See README and COPYING for more details. * See README and COPYING for more details.
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

Loading…
Cancel
Save