Simplify MANGLE macro preprocessor condition checks.
authorDiego Biurrun <diego@biurrun.de>
Mon, 17 Mar 2008 09:22:11 +0000 (09:22 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 17 Mar 2008 09:22:11 +0000 (09:22 +0000)
Originally committed as revision 12470 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/internal.h

index d98ea78..80d3d41 100644 (file)
 #    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 */