Commit c302f3bd authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Fixed FreeBSD compilation.

parent e4e61708
...@@ -144,6 +144,7 @@ SCSI_OpenDevice( int h, int c, int t, int d ) ...@@ -144,6 +144,7 @@ SCSI_OpenDevice( int h, int c, int t, int d )
return fd; return fd;
} }
#ifdef linux
int int
SCSI_LinuxSetTimeout( int fd, int timeout ) SCSI_LinuxSetTimeout( int fd, int timeout )
{ {
...@@ -344,4 +345,4 @@ SCSI_GetProcinfo() ...@@ -344,4 +345,4 @@ SCSI_GetProcinfo()
RegCloseKey(hkeyScsi); RegCloseKey(hkeyScsi);
return; return;
} }
#endif
...@@ -47,11 +47,13 @@ SCSI_OpenDevice( int h, int c, int t, int d ); ...@@ -47,11 +47,13 @@ SCSI_OpenDevice( int h, int c, int t, int d );
int int
SCSI_LinuxSetTimeout( int fd, int timeout ); SCSI_LinuxSetTimeout( int fd, int timeout );
#ifdef linux
BOOL BOOL
SCSI_LinuxDeviceIo( int fd, SCSI_LinuxDeviceIo( int fd,
struct sg_header * lpvInBuffer, DWORD cbInBuffer, struct sg_header * lpvInBuffer, DWORD cbInBuffer,
struct sg_header * lpvOutBuffer, DWORD cbOutBuffer, struct sg_header * lpvOutBuffer, DWORD cbOutBuffer,
LPDWORD lpcbBytesReturned ); LPDWORD lpcbBytesReturned );
#endif
BOOL BOOL
SCSI_GetDeviceName(int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData); SCSI_GetDeviceName(int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment