[Mplayer-cvslog] CVS: main/loader ldt_keeper.c,1.9,1.10
Arpi of Ize
arpi at mplayerhq.hu
Sat Nov 16 10:38:38 CET 2002
Update of /cvsroot/mplayer/main/loader
In directory mail:/var/tmp.root/cvs-serv13606
Modified Files:
ldt_keeper.c
Log Message:
2.5.47+ support
patch by Sergey S. Stasyuk <stas at soft-systems.net>
Index: ldt_keeper.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/ldt_keeper.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ldt_keeper.c 13 Sep 2002 19:43:13 -0000 1.9
+++ ldt_keeper.c 16 Nov 2002 09:38:23 -0000 1.10
@@ -24,6 +24,11 @@
#ifdef __linux__
#include <asm/unistd.h>
#include <asm/ldt.h>
+// 2.5.xx+ calls this user_desc:
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,47)
+#define modify_ldt_ldt_s user_desc
+#endif
/* prototype it here, so we won't depend on kernel headers */
#ifdef __cplusplus
extern "C" {
More information about the MPlayer-cvslog
mailing list