mangle.h 456 B

123456789101112131415161718
  1. /* mangle.h - This file has some CPP macros to deal with different symbol
  2. * mangling across binary formats.
  3. * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
  4. * File licensed under the GPL, see http://www.fsf.org/ for more info.
  5. */
  6. #ifndef __MANGLE_H
  7. #define __MANGLE_H
  8. /* Feel free to add more to the list, eg. a.out IMO */
  9. #if defined(__CYGWIN__)
  10. #define MANGLE(a) "_" #a
  11. #else
  12. #define MANGLE(a) #a
  13. #endif
  14. #endif /* !__MANGLE_H */