From edfd6975cfdff72cf400f76b91a945e563360e76 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Mon, 17 Mar 2008 09:22:11 +0000
Subject: [PATCH] Simplify MANGLE macro preprocessor condition checks.

Originally committed as revision 12470 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavutil/internal.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavutil/internal.h b/libavutil/internal.h
index d98ea7898ca..80d3d4114c4 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -127,12 +127,10 @@
 #    else
 #        define MANGLE(a) "_" #a
 #    endif
-#else
-#    if defined(ARCH_X86_64) && defined(PIC)
+#elif defined(ARCH_X86_64) && defined(PIC)
 #        define MANGLE(a) #a"(%%rip)"
-#    else
+#else
 #        define MANGLE(a) #a
-#    endif
 #endif
 
 /* debug stuff */
-- 
GitLab