wok-next view wine/stuff/wine-1.2-cdrom.c.u @ rev 5936
winde: Fix build.
author | erjo@localhost |
---|---|
date | Sun Aug 01 20:14:30 2010 +0200 (2010-08-01) |
parents | |
children | 1336a1c34cf1 |
line source
1 --- wine-1.2-ori/dlls/ntdll/cdrom.c 2010-07-16 17:05:45.000000000 +0200
2 +++ wine-1.2/dlls/ntdll/cdrom.c 2010-08-01 17:55:37.000000000 +0200
3 @@ -2835,6 +2835,10 @@
4 static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize)
5 {
6 #ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID
7 +#ifndef INQUIRY
8 +#define INQUIRY 0x12
9 +#endif
10 +
11 PSCSI_INQUIRY_DATA pInquiryData = NULL;
12 UCHAR sense_buffer[32];
13 int iochk, version;