aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libpostproc/mangle.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-02-14 21:27:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-02-14 21:27:25 +0000
commitbba9b16c265f7a0ce3a1bc5dbf88d178ebec457a (patch)
tree16024959c1ac83c766f7dd0cf556a5ecaf6c4a19 /libavcodec/libpostproc/mangle.h
parent7d67e968a4ec375257c21e4658d91452aeba9a74 (diff)
downloadffmpeg-bba9b16c265f7a0ce3a1bc5dbf88d178ebec457a.tar.gz
moving postprocess to ffmpeg/libavcodec
Originally committed as revision 1586 to svn://svn.ffmpeg.org/ffmpeg/trunk Originally committed as revision 9427 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc Originally committed as revision 9428 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'libavcodec/libpostproc/mangle.h')
-rw-r--r--libavcodec/libpostproc/mangle.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libavcodec/libpostproc/mangle.h b/libavcodec/libpostproc/mangle.h
new file mode 100644
index 0000000000..5f5dc48499
--- /dev/null
+++ b/libavcodec/libpostproc/mangle.h
@@ -0,0 +1,19 @@
+/* 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>
+ * File licensed under the GPL, see http://www.fsf.org/ for more info.
+ */
+
+#ifndef __MANGLE_H
+#define __MANGLE_H
+
+/* Feel free to add more to the list, eg. a.out IMO */
+#if defined(__CYGWIN__) || defined(__OS2__) || \
+ (defined(__OpenBSD__) && !defined(__ELF__))
+#define MANGLE(a) "_" #a
+#else
+#define MANGLE(a) #a
+#endif
+
+#endif /* !__MANGLE_H */
+