annotate mangle.h @ 5718:82af351fff02

more tajpo
author gabucino
date Sat, 20 Apr 2002 06:25:49 +0000
parents 9917a783d5de
children 02576893af2a
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 */
5283
9917a783d5de OS2 support
arpi
parents: 4243
diff changeset
11 #if defined(__CYGWIN__) || defined(__OS2__)
4243
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
12 #define MANGLE(a) "_" #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
13 #else
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
14 #define MANGLE(a) #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
15 #endif
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
16
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
17 #endif /* !__MANGLE_H */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
18