Gerald Pfeifer : ntdll: Take into account that FreeBSD and others have MTSETBSIZ

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 9 05:47:23 CST 2006


Module: wine
Branch: refs/heads/master
Commit: ba9ec9e23368c099efb0b7abba502045a0695808
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ba9ec9e23368c099efb0b7abba502045a0695808

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Thu Feb  9 12:08:32 2006 +0100

ntdll: Take into account that FreeBSD and others have MTSETBSIZ
instead of MTSETBLK.

---

 dlls/ntdll/tape.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/tape.c b/dlls/ntdll/tape.c
index b9ca48d..32f2684 100644
--- a/dlls/ntdll/tape.c
+++ b/dlls/ntdll/tape.c
@@ -30,10 +30,12 @@
 #include <sys/mtio.h>
 #endif
 
-/* FreeBSD, for example, has MTCOMP instead of MTCOMPRESSION. */
 #if !defined(MTCOMPRESSION) && defined(MTCOMP)
 #define MTCOMPRESSION MTCOMP
 #endif
+#if !defined(MTSETBLK) && defined(MTSETBSIZ)
+#define MTSETBLK MTSETBSIZ
+#endif
 
 #define NONAMELESSUNION
 #define NONAMELESSSTRUCT




More information about the wine-cvs mailing list