mirror of https://github.com/mpv-player/mpv
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:
parent
bac1f05b4d
commit
6ad1f58ab8
8
mangle.h
8
mangle.h
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue