view mangle.h @ 18229:e0d18b30598c

Sync with 1.47, patch by Johan Bos < dariusjb AH gmail com> and LMJ. Hail to the Foggy Team!!!!!!!!!! Not hooked up with the rest of the build system yet as it's not been re-read and proofread enough, and maybe doesn't even validate ;) pre8 or rc1 can probably wait till these issues are straighten up :)
author gpoirier
date Sun, 23 Apr 2006 21:43:49 +0000
parents 7b408d60de9e
children 3f0d00abc073
line wrap: on
line source

/* mangle.h - This file has some CPP macros to deal with different symbol
 * mangling across binary formats.
 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
 * File licensed under the GPL, see http://www.fsf.org/ for more info.
 */

#ifndef __MANGLE_H
#define __MANGLE_H

/* Feel free to add more to the list, eg. a.out IMO */
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
   (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
#define MANGLE(a) "_" #a
#else
#define MANGLE(a) #a
#endif

#endif /* !__MANGLE_H */