view mangle.h @ 9106:2c1aee5bb754

Ok, firstly fixed the bug in parser-mpcmd.c where it would accept a non-interger as an argument for -loop (beginning of cmdline)..and have made it print an error the same as when you pass a non-int to -loop (end of cmdline) (parsed in different places). patch by Alex Sisson <alex_sisson@yahoo.co.uk>
author arpi
date Sun, 26 Jan 2003 16:11:35 +0000
parents 9d55352cea20
children 4e2d477981e2
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(__OS2__) || \
   (defined(__OpenBSD__) && !defined(__ELF__))
#define MANGLE(a) "_" #a
#else
#define MANGLE(a) #a
#endif

#endif /* !__MANGLE_H */