[MPlayer-cvslog] r28151 - trunk/mangle.h

reimar subversion at mplayerhq.hu
Mon Dec 15 14:53:08 CET 2008


Author: reimar
Date: Mon Dec 15 14:53:07 2008
New Revision: 28151

Log:
Simplify the definition of MANGLE, possibly also makes it easier to support more systems.


Modified:
   trunk/mangle.h

Modified: trunk/mangle.h
==============================================================================
--- trunk/mangle.h	(original)
+++ trunk/mangle.h	Mon Dec 15 14:53:07 2008
@@ -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 */



More information about the MPlayer-cvslog mailing list