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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28151 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-12-15 13:53:07 +00:00
parent bac1f05b4d
commit 6ad1f58ab8
1 changed files with 1 additions and 7 deletions

View File

@ -29,12 +29,6 @@
#define attribute_used #define attribute_used
#endif #endif
/* Feel free to add more to the list, eg. a.out IMO */ #define MANGLE(a) EXTERN_PREFIX #a
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
(defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
#define MANGLE(a) "_" #a
#else
#define MANGLE(a) #a
#endif
#endif /* MPLAYER_MANGLE_H */ #endif /* MPLAYER_MANGLE_H */