Fix detection whether the system is big endian

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ed71acf6dc)
pull/38/head
Slávek Banko 8 years ago
parent 80fc48ed46
commit 027e260139

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

@ -1,3 +1,8 @@
/* 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@
// krdp // krdp
#define VERSION "@VERSION@" #define VERSION "@VERSION@"
@ -10,6 +15,7 @@
#cmakedefine VIDEODEV_HEADER "@VIDEODEV_HEADER@" #cmakedefine VIDEODEV_HEADER "@VIDEODEV_HEADER@"
// kopete/protocols/yahoo // kopete/protocols/yahoo
#cmakedefine HAVE_INTTYPES_H 1
#cmakedefine HAVE_STRINGS_H 1 #cmakedefine HAVE_STRINGS_H 1
// kopete/protocols/yahoo, kppp // kopete/protocols/yahoo, kppp

@ -16,6 +16,7 @@
************************************************************************* *************************************************************************
*/ */
#include "config.h"
#include "kopeteonlinestatusmanager.h" #include "kopeteonlinestatusmanager.h"
#include "kopeteawayaction.h" #include "kopeteawayaction.h"

@ -11,10 +11,6 @@
include( ConfigureChecks.cmake ) include( ConfigureChecks.cmake )
if( HAVE_INTTYPES_H )
add_definitions( -DHAVE_INTTYPES_H )
endif()
include_directories( include_directories(
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}

@ -37,7 +37,7 @@
* 34aa973c d4c4daa4 f61eeb2b dbad2731 6534016f * 34aa973c d4c4daa4 f61eeb2b dbad2731 6534016f
*/ */
/* #include <config-kopete.h> */ #include "config.h"
#ifdef HAVE_INTTYPES_H #ifdef HAVE_INTTYPES_H
# include <inttypes.h> # include <inttypes.h>

Loading…
Cancel
Save