Tiny patch for OpenBSD by (Björn Sandell <biorn at dce dot chalmers dot se>)
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2003 23:22:56 +0000 (23:22 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2003 23:22:56 +0000 (23:22 +0000)
Originally committed as revision 1837 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/common.h

index b286186..b7ec2ae 100644 (file)
@@ -157,7 +157,7 @@ typedef signed __int64 int64_t;
 #    include "bswap.h"
 
 #    if defined(__MINGW32__) || defined(__CYGWIN__) || \
-        defined(__OS2__) || defined (__OpenBSD__)
+        defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__))
 #        define MANGLE(a) "_" #a
 #    else
 #        define MANGLE(a) #a