Flush from my local tree, probably more future safe mangle decision of OpenBSD, in case they switch over to ELF.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6827 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-07-28 11:07:30 +00:00
parent 91802c2ac5
commit 56f26c7ee5
1 changed files with 2 additions and 1 deletions

View File

@ -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