changeset 6826:a8caf30732de

Flush from my local tree, probably more future safe mangle decision of OpenBSD, in case they switch over to ELF.
author atmos4
date Sun, 28 Jul 2002 11:07:30 +0000
parents 2cbf7d447bb2
children b1f788bca721
files mangle.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mangle.h	Sat Jul 27 22:10:58 2002 +0000
+++ b/mangle.h	Sun Jul 28 11:07:30 2002 +0000
@@ -8,7 +8,8 @@
 #define __MANGLE_H
 
 /* Feel free to add more to the list, eg. a.out IMO */
-#if defined(__CYGWIN__) || defined(__OS2__) || defined (__OpenBSD__)
+#if defined(__CYGWIN__) || defined(__OS2__) || \
+   (defined(__OpenBSD__) && !defined(ELF))
 #define MANGLE(a) "_" #a
 #else
 #define MANGLE(a) #a