On Sat, 22 May 2004, Petr Tomasek wrote:
> Here is it (tried to recompile the dosemu-1.2.1-1.src.rpm,
> my gcc is: gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7), the
> default in the FC2):
ok, thanks. Can you try the patch below?
Bart
--- src/dosext/dpmi/dpmi.c.~1.48.~ Sat May 22 16:37:54 2004
+++ src/dosext/dpmi/dpmi.c Sat May 22 17:14:01 2004
@@ -153,7 +153,11 @@
}
#ifdef __linux__
-_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount)
+#define modify_ldt dosemu_modify_ldt
+static inline int modify_ldt(int func, void *ptr, unsigned long bytecount)
+{
+ return syscall(SYS_modify_ldt, func, ptr, bytecount);
+}
#endif
static inline int get_ldt(void *buffer)
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html