ntdll: Silence warning about TAPE_GetStatus when sys/mtio.h is not available.

This commit is contained in:
André Hentschel 2015-06-29 19:56:23 +02:00 committed by Alexandre Julliard
parent 9551179c0b
commit d37f407645
1 changed files with 2 additions and 0 deletions

View File

@ -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