ntdll: Silence warning about TAPE_GetStatus when sys/mtio.h is not available.
This commit is contained in:
parent
9551179c0b
commit
d37f407645
|
@ -87,11 +87,13 @@ static const char *io2str( DWORD io )
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* TAPE_GetStatus
|
* TAPE_GetStatus
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_SYS_MTIO_H
|
||||||
static inline NTSTATUS TAPE_GetStatus( int error )
|
static inline NTSTATUS TAPE_GetStatus( int error )
|
||||||
{
|
{
|
||||||
if (!error) return STATUS_SUCCESS;
|
if (!error) return STATUS_SUCCESS;
|
||||||
return FILE_GetNtStatus();
|
return FILE_GetNtStatus();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* TAPE_CreatePartition
|
* TAPE_CreatePartition
|
||||||
|
|
Loading…
Reference in New Issue