summaryrefslogtreecommitdiff
path: root/libpostproc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-07-06 10:45:53 +0000
committerDiego Biurrun <diego@biurrun.de>2007-07-06 10:45:53 +0000
commit3b7660b002b11de0aa41c17c167ca0051ae8f9e5 (patch)
tree1b20a0ee8ba852af6c002e1a73aae7c8d8aca966 /libpostproc
parent80fb82346e6d680d2ccff761a578fe856ed3b54c (diff)
Remove mangle.h, it is just a duplicate of parts of libavutil/internal.h.
Originally committed as revision 9500 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/mangle.h47
-rw-r--r--libpostproc/postprocess.c2
2 files changed, 0 insertions, 49 deletions
diff --git a/libpostproc/mangle.h b/libpostproc/mangle.h
deleted file mode 100644
index 1913270beb..0000000000
--- a/libpostproc/mangle.h
+++ /dev/null
@@ -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 <atmosfear at users.sourceforge.net>
- *
- * 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 --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 21e35aa206..ee09a54246 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -90,8 +90,6 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#include "postprocess.h"
#include "postprocess_internal.h"
-#include "mangle.h" //FIXME should be supressed
-
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif