Browse Source

Fix support for Mips*.

Patch by YunQiang Su <wzssyqa@gmail.com> (cf. Debian bug#748325).
master
Richard Kreckel 10 years ago
parent
commit
512af84798
  1. 2
      include/cln/object.h
  2. 2
      m4/general.m4

2
include/cln/object.h

@ -22,7 +22,7 @@ namespace cln {
#if defined(__m68k__) #if defined(__m68k__)
#define cl_word_alignment 2 #define cl_word_alignment 2
#endif #endif
#if defined(__i386__) || defined(__mips__) || defined(__mipsel__) || (defined(__sparc__) && !defined(__arch64__)) || defined(__hppa__) || defined(__arm__) || defined(__rs6000__) || defined(__m88k__) || defined(__convex__) || (defined(__s390__) && !defined(__s390x__)) || defined(__sh__) || (defined(__x86_64__) && defined(__ILP32__))
#if defined(__i386__) || (defined(__mips__) && !defined(__LP64__)) || (defined(__sparc__) && !defined(__arch64__)) || defined(__hppa__) || defined(__arm__) || defined(__rs6000__) || defined(__m88k__) || defined(__convex__) || (defined(__s390__) && !defined(__s390x__)) || defined(__sh__) || (defined(__x86_64__) && defined(__ILP32__))
#define cl_word_alignment 4 #define cl_word_alignment 4
#endif #endif
#if defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || (defined(__sparc__) && defined(__arch64__)) || (defined(__x86_64__) && !defined(__ILP32__)) || defined(__s390x__) || defined(__aarch64__) #if defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || (defined(__sparc__) && defined(__arch64__)) || (defined(__x86_64__) && !defined(__ILP32__)) || defined(__s390x__) || defined(__aarch64__)

2
m4/general.m4

@ -153,7 +153,7 @@ changequote(,)dnl
host_cpu=arm host_cpu=arm
;; ;;
changequote([,])dnl changequote([,])dnl
mips )
mips* )
AC_CACHE_CHECK([for 64-bit MIPS], cl_cv_host_mips64, [ AC_CACHE_CHECK([for 64-bit MIPS], cl_cv_host_mips64, [
AC_EGREP_CPP(yes, AC_EGREP_CPP(yes,
[#if defined(_MIPS_SZLONG) [#if defined(_MIPS_SZLONG)

Loading…
Cancel
Save