[SCM] libav/experimental: aarch64: use '#' for whole line asm comments

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:23 UTC 2014


The following commit has been merged in the experimental branch:
commit 68a06b3a639ee21c78532ee4c50c3366bf890ff7
Author: Janne Grunau <janne-libav at jannau.net>
Date:   Fri May 30 16:57:44 2014 +0200

    aarch64: use '#' for whole line asm comments
    
    Both gnu as and clang treat lines starting with '#' as comments if they
    aren't consumed by the C-style preprocessor.
    Using '//' does not work with clang since comments are removed before
    macro expansion.

diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S
index b23eb4f..3690a33 100644
--- a/libavutil/aarch64/asm.S
+++ b/libavutil/aarch64/asm.S
@@ -23,7 +23,7 @@
 #ifdef __ELF__
 #   define ELF
 #else
-#   define ELF //
+#   define ELF  #
 #endif
 
 .macro  function name, export=0, align=2

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list