changeset 730:eff5131d6a33 libavutil

PPC: check for x-form asm constraint support
author mru
date Sat, 18 Apr 2009 13:57:30 +0000
parents 753953ed8ff0
children c9501830f9b2
files ppc/intreadwrite.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/intreadwrite.h	Sat Apr 18 00:00:31 2009 +0000
+++ b/ppc/intreadwrite.h	Sat Apr 18 13:57:30 2009 +0000
@@ -24,6 +24,8 @@
 #include <stdint.h>
 #include "config.h"
 
+#if HAVE_XFORM_ASM
+
 #define AV_RL16 AV_RL16
 static inline uint16_t AV_RL16(const void *p)
 {
@@ -93,6 +95,8 @@
 
 #endif /* HAVE_LDBRX */
 
+#endif /* HAVE_XFORM_ASM */
+
 /*
  * GCC fails miserably on the packed struct version which is used by
  * default, so we override it here.