Module: wine Branch: master Commit: b81b44f615c88fd9fbfe3502129115aafddc08ff URL: http://source.winehq.org/git/wine.git/?a=commit;h=b81b44f615c88fd9fbfe350212...
Author: Phil Krylov phil@newstar.rinet.ru Date: Mon Nov 6 00:53:54 2006 +0300
ntdll: Fix building on Darwin versions prior to 8.0.
---
dlls/ntdll/tape.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tape.c b/dlls/ntdll/tape.c index 8ce68f3..c8e3cd0 100644 --- a/dlls/ntdll/tape.c +++ b/dlls/ntdll/tape.c @@ -43,6 +43,11 @@ #ifndef MT_ST_BLKSIZE_MASK #define MT_ST_BLKSIZE_MASK 0xffffff #endif
+/* Darwin 7.9.0 has MTSETBSIZ instead of MTSETBLK */ +#if !defined(MTSETBLK) && defined(MTSETBSIZ) +#define MTSETBLK MTSETBSIZ +#endif + #define NONAMELESSUNION #define NONAMELESSSTRUCT #include "ntstatus.h"