changeset 9989:2cc65fb72572 libavcodec

Conditionally compile ELF-specific ARM assembly bits that fail on Windows CE. patch by Martin Storsj, martin martin st
author diego
date Mon, 27 Jul 2009 12:53:44 +0000
parents b8a9cfe64488
children e909e1f7b3f1
files arm/asm.S
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/arm/asm.S	Sun Jul 26 23:08:04 2009 +0000
+++ b/arm/asm.S	Mon Jul 27 12:53:44 2009 +0000
@@ -21,18 +21,24 @@
 #include "config.h"
 
         .macro require8, val=1
+#ifdef __ELF__
         .eabi_attribute 24, \val
+#endif
         .endm
 
         .macro preserve8, val=1
+#ifdef __ELF__
         .eabi_attribute 25, \val
+#endif
         .endm
 
         .macro function name, export=0
 .if \export
         .global \name
 .endif
+#ifdef __ELF__
         .type   \name, %function
+#endif
         .func   \name
 \name:
         .endm