On Tue, 3 Jun 2014, Janne Grunau wrote:

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.
---
reformulated the commit message

libavutil/aarch64/asm.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S
index 8ac5c18..4bb32d9 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
--
2.0.0

Ok

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to