annotate mangle.h @ 15841:d78b20a4e113

Synced with 1.66
author jheryan
date Tue, 28 Jun 2005 13:29:27 +0000
parents 4e2d477981e2
children 7b408d60de9e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4243
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
1 /* mangle.h - This file has some CPP macros to deal with different symbol
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
2 * mangling across binary formats.
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
5 */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
6
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
7 #ifndef __MANGLE_H
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
8 #define __MANGLE_H
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
9
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
10 /* Feel free to add more to the list, eg. a.out IMO */
9762
4e2d477981e2 MINGW32 port
faust3
parents: 8249
diff changeset
11 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
8249
9d55352cea20 OpenBSD && ELF fix
atmos4
parents: 6826
diff changeset
12 (defined(__OpenBSD__) && !defined(__ELF__))
4243
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
13 #define MANGLE(a) "_" #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
14 #else
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
15 #define MANGLE(a) #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
16 #endif
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
17
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
18 #endif /* !__MANGLE_H */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
19