config: support System z

This commit is contained in:
Wim Taymans 2016-09-01 14:13:40 +02:00
parent d0a21df27c
commit 0e8ebbe590

View file

@ -106,7 +106,7 @@
*/ */
#if defined(__alpha__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__mips__) || defined(__sh__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_IA64) #if defined(__alpha__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__mips__) || defined(__sh__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_IA64)
# define GST_HAVE_UNALIGNED_ACCESS 0 # define GST_HAVE_UNALIGNED_ACCESS 0
#elif defined(__i386__) || defined(__i386) || defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__) || defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) #elif defined(__i386__) || defined(__i386) || defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__) || defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || defined(__s390__) || defined(__zarch__)
# define GST_HAVE_UNALIGNED_ACCESS 1 # define GST_HAVE_UNALIGNED_ACCESS 1
#else #else
# error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug." # error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug."