mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
drop support for architectures that have no official Debian port
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f4e311aa34
commit
22002ffa36
3 changed files with 16 additions and 34 deletions
|
@ -1,42 +1,26 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
#if defined(__alpha__)
|
#if defined(__aarch64__)
|
||||||
printf("ALPHA");
|
printf("ARM64");
|
||||||
#elif defined(__arm__)
|
#elif defined(__arm__)
|
||||||
printf("ARM");
|
printf("ARM");
|
||||||
#elif defined(__aarch64__)
|
|
||||||
printf("ARM64");
|
|
||||||
#elif defined(__avr__)
|
|
||||||
printf("AVR32");
|
|
||||||
#elif defined(__bfin__)
|
|
||||||
printf("BFIN");
|
|
||||||
#elif defined(__i386__)
|
|
||||||
printf("I386");
|
|
||||||
#elif defined(__ia64__)
|
|
||||||
printf("IA64");
|
|
||||||
#elif defined(__m68k__)
|
|
||||||
printf("M68K");
|
|
||||||
#elif defined(__mips__)
|
|
||||||
printf("MIPS");
|
|
||||||
#elif defined(__hppa__)
|
|
||||||
printf("PARISC");
|
|
||||||
#elif defined(__powerpc__)
|
|
||||||
printf("POWERPC");
|
|
||||||
#elif defined(__powerpc64__)
|
|
||||||
printf("POWERPC64");
|
|
||||||
#elif defined(__s390__)
|
|
||||||
printf("S390");
|
|
||||||
#elif defined(__sparc__)
|
|
||||||
printf("SPARC");
|
|
||||||
#elif defined(__sh__)
|
|
||||||
printf("SH");
|
|
||||||
#elif defined(__sh4a__)
|
|
||||||
printf("SH4A");
|
|
||||||
#elif defined(__x86_64__)
|
#elif defined(__x86_64__)
|
||||||
printf("X86_64");
|
printf("X86_64");
|
||||||
|
#elif defined(__i386__)
|
||||||
|
printf("I386");
|
||||||
|
#elif defined(__mips64__)
|
||||||
|
printf("MIPS64");
|
||||||
|
#elif defined(__mips__)
|
||||||
|
printf("MIPS");
|
||||||
|
#elif defined(__powerpc64__)
|
||||||
|
printf("POWERPC64");
|
||||||
|
#elif defined(__powerpc__)
|
||||||
|
printf("POWERPC");
|
||||||
|
#elif defined(__s390__)
|
||||||
|
printf("S390");
|
||||||
#else
|
#else
|
||||||
printf("Unable to detect architecture, please update above list\n");
|
printf("The architecture is not supported\n");
|
||||||
return 1;
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -189,8 +189,7 @@ typedef std::ptrdiff_t qptrdiff;
|
||||||
# define QT_FASTCALL __attribute__((hot))
|
# define QT_FASTCALL __attribute__((hot))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This logic must match the one in qmetatype.h
|
#if !defined(QT_NO_FPU) && defined(QT_ARCH_ARM)
|
||||||
#if !defined(QT_NO_FPU) && defined(QT_ARCH_ARM) || defined(QT_ARCH_AVR32) || defined(QT_ARCH_SH)
|
|
||||||
# define QT_NO_FPU
|
# define QT_NO_FPU
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,6 @@ public:
|
||||||
QVariant = 137,
|
QVariant = 137,
|
||||||
LastCoreExtType = QVariant,
|
LastCoreExtType = QVariant,
|
||||||
|
|
||||||
// This logic must match the one in qglobal.h
|
|
||||||
#if defined(QT_NO_FPU)
|
#if defined(QT_NO_FPU)
|
||||||
QReal = Float,
|
QReal = Float,
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue