[Mplayer-cvslog] CVS: main/vidix vidixlib.c,1.10,1.11

Arpi of Ize arpi at mplayerhq.hu
Mon May 20 02:04:50 CEST 2002


Update of /cvsroot/mplayer/main/vidix
In directory mail:/var/tmp.root/cvs-serv14290

Modified Files:
	vidixlib.c 
Log Message:
openbsd a.out needs underscore for dlsym - patch by Björn Sandell <biorn at dce.chalmers.se>

Index: vidixlib.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/vidixlib.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- vidixlib.c	27 Apr 2002 22:42:27 -0000	1.10
+++ vidixlib.c	20 May 2002 00:04:47 -0000	1.11
@@ -24,6 +24,10 @@
 #include <dlfcn.h> /* GLIBC specific. Exists under cygwin too! */
 #include <dirent.h>
 
+#if defined(__OpenBSD__) && !defined(__ELF__)
+#define dlsym(h,s) dlsym(h, "_" s)
+#endif
+
 #include "vidixlib.h"
 #include "../bswap.h"
 




More information about the MPlayer-cvslog mailing list