Mercurial > mplayer.hg
annotate mangle.h @ 22478:3501ae650b23
Add alternative way to create command.c to svn history,
created by Rathann. Having this in the repository history
probably won't have much more than symbolic value but shouldn't
hurt either beyond bloating history size.
author | uau |
---|---|
date | Fri, 09 Mar 2007 12:30:14 +0000 |
parents | 7b408d60de9e |
children | 3f0d00abc073 |
rev | line source |
---|---|
4243 | 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 */ | |
6 | |
7 #ifndef __MANGLE_H | |
8 #define __MANGLE_H | |
9 | |
10 /* Feel free to add more to the list, eg. a.out IMO */ | |
9762 | 11 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \ |
18104
7b408d60de9e
add support for intel mac. mp3lib is not fixed yet.
nplourde
parents:
9762
diff
changeset
|
12 (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__) |
4243 | 13 #define MANGLE(a) "_" #a |
14 #else | |
15 #define MANGLE(a) #a | |
16 #endif | |
17 | |
18 #endif /* !__MANGLE_H */ | |
19 |