"Vitaliy Margolen" wine-patch@kievinfo.com wrote:
+static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize) +{
- PSCSI_INQUIRY_DATA inquirydata = NULL;
- sg_io_hdr_t iocmd;
- UCHAR inquiry[INQ_CMD_LEN] = {INQUIRY, 0, 0, 0, INQ_REPLY_LEN, 0};
- UCHAR sense_buffer[32];
- struct hd_driveid;
- int iochk, version;
+#if defined(linux)
- /* Check we have a SCSI device and a supported driver */
Please use appropriate configure checks instead of a blind '#if defined(linux)'.