dlls/ntdll/tape.c portability
Gerald Pfeifer
gerald at pfeifer.com
Wed Feb 8 06:51:21 CST 2006
On Sat, 4 Feb 2006, Gerald Pfeifer wrote:
> Regardless of this discussion, would you mind applying the following
> part of my original patch?
This one is still needed, and it's the only missing part -- we are
basically there. ;-)
Thanks for merging my other changes so quickly!
Gerald
ChangeLog:
Take into account that FreeBSD and others have MTSETBSIZ instead of
MTSETBLK.
Index: dlls/ntdll/tape.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/tape.c,v
retrieving revision 1.6
diff -u -3 -p -r1.6 tape.c
--- dlls/ntdll/tape.c 7 Feb 2006 20:22:51 -0000 1.6
+++ dlls/ntdll/tape.c 8 Feb 2006 12:49:59 -0000
@@ -34,6 +34,10 @@
#if !defined(MTCOMPRESSION) && defined(MTCOMP)
#define MTCOMPRESSION MTCOMP
#endif
+/* FreeBSD, for example, has MTSETBSIZ instead of MTSETBLK. */
+#if !defined(MTSETBLK) && defined(MTSETBSIZ)
+#define MTSETBLK MTSETBSIZ
+#endif
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
More information about the wine-patches
mailing list