synced with r26729
[mplayer/greg.git] / mangle.h
blob687ca4f4ac3dc57b1dffffb090dde6b7e2156f5e
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.
5 */
7 #ifndef MPLAYER_MANGLE_H
8 #define MPLAYER_MANGLE_H
10 /* Feel free to add more to the list, eg. a.out IMO */
11 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
12 (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
13 #define MANGLE(a) "_" #a
14 #else
15 #define MANGLE(a) #a
16 #endif
18 #endif /* MPLAYER_MANGLE_H */