Mercurial > mplayer.hg
annotate mangle.h @ 25317:7f3cb5408f28
Fixed VIDIX color bug that was introduced when Radeon VIDIX driver
was synchronized with vidix.sf.net.
The red color was saturating.
Corrected value fixes the issue and restore the color to the level
it used to have before synchronization.
Meaning of the value remains unknow but was retrieved from
register's value of a Radeon 9000 card, so it may need further testing.
Patch by Guillaume Lecerf (foxcore at gmail dot com)
author | ben |
---|---|
date | Mon, 10 Dec 2007 19:27:46 +0000 |
parents | 3f0d00abc073 |
children | 917ae737b3d4 |
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 | |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
18104
diff
changeset
|
7 #ifndef MANGLE_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
18104
diff
changeset
|
8 #define MANGLE_H |
4243 | 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 | |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
18104
diff
changeset
|
18 #endif /* !MANGLE_H */ |
4243 | 19 |