wok-6.x rev 5937
wine: Fix patch.
author | erjo@localhost |
---|---|
date | Sun Aug 01 18:28:42 2010 +0200 (2010-08-01) |
parents | 86de32688f8f |
children | b67661853cc9 |
files | wine/stuff/wine-1.2-cdrom.c.u |
line diff
1.1 --- a/wine/stuff/wine-1.2-cdrom.c.u Sun Aug 01 20:14:30 2010 +0200 1.2 +++ b/wine/stuff/wine-1.2-cdrom.c.u Sun Aug 01 18:28:42 2010 +0200 1.3 @@ -1,9 +1,10 @@ 1.4 ---- wine-1.2-ori/dlls/ntdll/cdrom.c 2010-07-16 17:05:45.000000000 +0200 1.5 -+++ wine-1.2/dlls/ntdll/cdrom.c 2010-08-01 17:55:37.000000000 +0200 1.6 -@@ -2835,6 +2835,10 @@ 1.7 +--- wine-1.2-ori/dlls/ntdll/cdrom.c Fri Jul 16 17:05:45 2010 1.8 ++++ wine-1.2/dlls/ntdll/cdrom.c Sun Aug 1 18:26:30 2010 1.9 +@@ -2835,6 +2835,11 @@ 1.10 static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize) 1.11 { 1.12 #ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID 1.13 ++ 1.14 +#ifndef INQUIRY 1.15 +#define INQUIRY 0x12 1.16 +#endif 1.17 @@ -11,4 +12,3 @@ 1.18 PSCSI_INQUIRY_DATA pInquiryData = NULL; 1.19 UCHAR sense_buffer[32]; 1.20 int iochk, version; 1.21 -