Mercurial > libpostproc.hg
annotate mangle.h @ 28:b55400a067f0 libpostproc
Remove unused variables.
author | diego |
---|---|
date | Tue, 10 Oct 2006 11:59:10 +0000 |
parents | da3bfee1fa67 |
children | 37883194f1d0 |
rev | line source |
---|---|
13 | 1 /* |
2 * mangle.h - This file has some CPP macros to deal with different symbol | |
0 | 3 * mangling across binary formats. |
13 | 4 * |
0 | 5 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net> |
13 | 6 * |
22
da3bfee1fa67
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
13
diff
changeset
|
7 * This file is part of FFmpeg. |
da3bfee1fa67
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
13
diff
changeset
|
8 * |
da3bfee1fa67
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
13
diff
changeset
|
9 * FFmpeg is free software; you can redistribute it and/or modify |
13 | 10 * it under the terms of the GNU General Public License as published by |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
22
da3bfee1fa67
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
13
diff
changeset
|
14 * FFmpeg is distributed in the hope that it will be useful, |
13 | 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
22
da3bfee1fa67
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
13
diff
changeset
|
20 * along with FFmpeg; if not, write to the Free Software |
13 | 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
22
da3bfee1fa67
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
13
diff
changeset
|
22 */ |
0 | 23 |
24 #ifndef __MANGLE_H | |
25 #define __MANGLE_H | |
26 | |
27 /* Feel free to add more to the list, eg. a.out IMO */ | |
28 /* Use rip-relative addressing if compiling PIC code on x86-64. */ | |
29 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \ | |
30 (defined(__OpenBSD__) && !defined(__ELF__)) | |
31 #if defined(ARCH_X86_64) && defined(PIC) | |
32 #define MANGLE(a) "_" #a"(%%rip)" | |
33 #else | |
34 #define MANGLE(a) "_" #a | |
35 #endif | |
36 #else | |
37 #if defined(ARCH_X86_64) && defined(PIC) | |
38 #define MANGLE(a) #a"(%%rip)" | |
39 #elif defined(CONFIG_DARWIN) | |
40 #define MANGLE(a) "_" #a | |
41 #else | |
42 #define MANGLE(a) #a | |
43 #endif | |
44 #endif | |
45 | |
46 #endif /* !__MANGLE_H */ | |
47 |