diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-02-04 16:14:26 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-02-04 16:14:44 +0100 |
commit | 737bc1e7235d422ba02a5e612b3c5705a01d00cc (patch) | |
tree | 01b30094da4f6f44644b63cd1a4aeea392ea76bd /kopete/plugins | |
parent | a215041a5b1f9d7ee413ebf620ab9a60a92c3b9a (diff) | |
download | tdenetwork-737bc1e7235d422ba02a5e612b3c5705a01d00cc.tar.gz tdenetwork-737bc1e7235d422ba02a5e612b3c5705a01d00cc.zip |
Remove obsolete hack for 64 bit int types in kopete/motionawayplugin
This resolves FTBFS on ppc64el
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8b62fe850864075fe72913c77dd0d0c02d7c4c59)
Diffstat (limited to 'kopete/plugins')
-rw-r--r-- | kopete/plugins/motionautoaway/motionawayplugin.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/kopete/plugins/motionautoaway/motionawayplugin.cpp b/kopete/plugins/motionautoaway/motionawayplugin.cpp index 56aed0ff..d27901f6 100644 --- a/kopete/plugins/motionautoaway/motionawayplugin.cpp +++ b/kopete/plugins/motionautoaway/motionawayplugin.cpp @@ -44,32 +44,6 @@ #include "kopeteaccountmanager.h" #include "kopeteaway.h" -/* The following is a hack: - * e.g. Mandrake 9.x ships with a patched - * kernel which doesn't define this 64 bit types (we need GNU C lib - * because we use long long and warning - gcc extensions.) - * - * This is caused by the !defined(__STRICT_ANSI__) check in - * /usr/include/asm/types.h - */ -#if !defined(__u64) && defined(__GNUC__) -#if SIZEOF_UNSIGNED_LONG >= 8 -typedef unsigned long __u64; -#else -typedef unsigned long long __u64; -#endif -#endif - -#if !defined(__s64) && defined(__GNUC__) -#if SIZEOF_LONG >= 8 -typedef signed long __s64; -#else -typedef __signed__ long long __s64; -#endif -#endif -/* - * End hack - */ #include <linux/version.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50) |