зеркало из https://github.com/mozilla/gecko-dev.git
Bug 654056 - Build IPC support for mips, hppa, ia64, s390(x), powerpc64 and sparc. r=bsmedberg
This commit is contained in:
Родитель
5f9e322d95
Коммит
bc6f265b30
|
@ -59,12 +59,34 @@
|
|||
#define ARCH_CPU_ARMEL 1
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#define WCHAR_T_IS_UNSIGNED 1
|
||||
#elif defined(__powerpc64__)
|
||||
#define ARCH_CPU_PPC64 1
|
||||
#define ARCH_CPU_64_BITS 1
|
||||
#elif defined(__ppc__) || defined(__powerpc__)
|
||||
#define ARCH_CPU_PPC 1
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#elif defined(__sparc64__)
|
||||
#define ARCH_CPU_SPARC 1
|
||||
#define ARCH_CPU_64_BITS 1
|
||||
#elif defined(__sparc__)
|
||||
#define ARCH_CPU_SPARC 1
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#elif defined(__mips__)
|
||||
#define ARCH_CPU_MIPS 1
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#elif defined(__hppa__)
|
||||
#define ARCH_CPU_HPPA 1
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#elif defined(__ia64__)
|
||||
#define ARCH_CPU_IA64 1
|
||||
#define ARCH_CPU_64_BITS 1
|
||||
#elif defined(__s390x__)
|
||||
#define ARCH_CPU_S390X 1
|
||||
#define ARCH_CPU_64_BITS 1
|
||||
#elif defined(__s390__)
|
||||
#define ARCH_CPU_S390 1
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#endif
|
||||
#else
|
||||
#error Please add support for your architecture in build/build_config.h
|
||||
#endif
|
||||
|
|
|
@ -195,7 +195,7 @@ struct ParamTraits<unsigned long long> {
|
|||
};
|
||||
#endif
|
||||
|
||||
#if !(defined(OS_MACOSX) || defined(OS_OPENBSD) || defined(OS_WIN) || (defined(OS_LINUX) && defined(ARCH_CPU_64_BITS)))
|
||||
#if !(defined(OS_MACOSX) || defined(OS_OPENBSD) || defined(OS_WIN) || (defined(OS_LINUX) && defined(ARCH_CPU_64_BITS)) || defined(ARCH_CPU_S390))
|
||||
// There size_t is a synonym for |unsigned long| ...
|
||||
template <>
|
||||
struct ParamTraits<size_t> {
|
||||
|
|
Загрузка…
Ссылка в новой задаче