# HG changeset patch # User diego # Date 1183718753 0 # Node ID 3dbc6ffbbe43abb35413a16d6ef10e85c3f59b58 # Parent 95d9409452f2136cf72cd841b60fe0195e394044 Remove mangle.h, it is just a duplicate of parts of libavutil/internal.h. diff -r 95d9409452f2 -r 3dbc6ffbbe43 mangle.h --- a/mangle.h Thu Jul 05 10:40:25 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ -/* - * mangle.h - This file has some CPP macros to deal with different symbol - * mangling across binary formats. - * - * (c)2002 by Felix Buenemann - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef MANGLE_H -#define MANGLE_H - -/* Feel free to add more to the list, eg. a.out IMO */ -/* Use rip-relative addressing if compiling PIC code on x86-64. */ -#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \ - (defined(__OpenBSD__) && !defined(__ELF__)) -#if defined(ARCH_X86_64) && defined(PIC) -#define MANGLE(a) "_" #a"(%%rip)" -#else -#define MANGLE(a) "_" #a -#endif -#else -#if defined(ARCH_X86_64) && defined(PIC) -#define MANGLE(a) #a"(%%rip)" -#elif defined(CONFIG_DARWIN) -#define MANGLE(a) "_" #a -#else -#define MANGLE(a) #a -#endif -#endif - -#endif /* !MANGLE_H */ - diff -r 95d9409452f2 -r 3dbc6ffbbe43 postprocess.c --- a/postprocess.c Thu Jul 05 10:40:25 2007 +0000 +++ b/postprocess.c Fri Jul 06 10:45:53 2007 +0000 @@ -90,8 +90,6 @@ #include "postprocess.h" #include "postprocess_internal.h" -#include "mangle.h" //FIXME should be supressed - #ifdef HAVE_ALTIVEC_H #include #endif