2008-02-08 12:32:41 -05:00
|
|
|
$OpenBSD: patch-mangle_h,v 1.4 2008/02/08 17:32:42 jakemsr Exp $
|
|
|
|
--- mangle.h.orig Sun Oct 7 12:49:33 2007
|
|
|
|
+++ mangle.h Sun Dec 16 21:06:56 2007
|
2002-12-22 09:19:47 -05:00
|
|
|
@@ -11,8 +11,10 @@
|
2003-11-02 18:30:27 -05:00
|
|
|
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
|
2006-07-19 17:40:47 -04:00
|
|
|
(defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
|
2002-12-22 09:19:47 -05:00
|
|
|
#define MANGLE(a) "_" #a
|
|
|
|
+#define MANGLEA(a) _ ## a
|
|
|
|
#else
|
|
|
|
#define MANGLE(a) #a
|
|
|
|
+#define MANGLEA(a) a
|
|
|
|
#endif
|
|
|
|
|
2008-02-08 12:32:41 -05:00
|
|
|
#endif /* !MANGLE_H */
|