changeset 28116:d3c2f2b726ed

Simplify the definition of MANGLE, possibly also makes it easier to support more systems.
author reimar
date Mon, 15 Dec 2008 13:53:07 +0000
parents 1a9b1b7e285f
children bd6833421e56
files mangle.h
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mangle.h	Sun Dec 14 15:17:18 2008 +0000
+++ b/mangle.h	Mon Dec 15 13:53:07 2008 +0000
@@ -29,12 +29,6 @@
 #define attribute_used
 #endif
 
-/* Feel free to add more to the list, eg. a.out IMO */
-#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
-   (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
-#define MANGLE(a) "_" #a
-#else
-#define MANGLE(a) #a
-#endif
+#define MANGLE(a) EXTERN_PREFIX #a
 
 #endif /* MPLAYER_MANGLE_H */