mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22: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>
|
||||
|
||||
int main() {
|
||||
#if defined(__alpha__)
|
||||
printf("ALPHA");
|
||||
#if defined(__aarch64__)
|
||||
printf("ARM64");
|
||||
#elif defined(__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__)
|
||||
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
|
||||
printf("Unable to detect architecture, please update above list\n");
|
||||
printf("The architecture is not supported\n");
|
||||
return 1;
|
||||
#endif
|
||||
return 0;
|
||||
|
|
|
@ -189,8 +189,7 @@ typedef std::ptrdiff_t qptrdiff;
|
|||
# define QT_FASTCALL __attribute__((hot))
|
||||
#endif
|
||||
|
||||
// This logic must match the one in qmetatype.h
|
||||
#if !defined(QT_NO_FPU) && defined(QT_ARCH_ARM) || defined(QT_ARCH_AVR32) || defined(QT_ARCH_SH)
|
||||
#if !defined(QT_NO_FPU) && defined(QT_ARCH_ARM)
|
||||
# define QT_NO_FPU
|
||||
#endif
|
||||
|
||||
|
|
|
@ -64,7 +64,6 @@ public:
|
|||
QVariant = 137,
|
||||
LastCoreExtType = QVariant,
|
||||
|
||||
// This logic must match the one in qglobal.h
|
||||
#if defined(QT_NO_FPU)
|
||||
QReal = Float,
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue