# HG changeset patch # User mru # Date 1240063050 0 # Node ID eff5131d6a338275e0f679d99f36a67183119acb # Parent 753953ed8ff066f0c313e1085c9de68cff1c8bf5 PPC: check for x-form asm constraint support diff -r 753953ed8ff0 -r eff5131d6a33 ppc/intreadwrite.h --- 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 #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.