annotate mangle.h @ 5971:09b8ab77ce83

mondom fix
author gabucino
date Sat, 04 May 2002 16:43:35 +0000
parents 02576893af2a
children a8caf30732de
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 */
5872
02576893af2a OpenBSD, NetBSD portability patches by
arpi
parents: 5283
diff changeset
11 #if defined(__CYGWIN__) || defined(__OS2__) || defined (__OpenBSD__)
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