1 /* mangle.h - This file has some CPP macros to deal with different symbol
2 * mangling across binary formats.
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
7 #ifndef MPLAYER_MANGLE_H
8 #define MPLAYER_MANGLE_H
10 #if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)
11 #define attribute_used __attribute__((used))
13 #define attribute_used
16 /* Feel free to add more to the list, eg. a.out IMO */
17 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
18 (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
19 #define MANGLE(a) "_" #a
24 #endif /* MPLAYER_MANGLE_H */