diff --git a/sal/osl/unx/file_volume.cxx b/sal/osl/unx/file_volume.cxx index ea6ad6e919df..09ba56187068 100644 --- a/sal/osl/unx/file_volume.cxx +++ b/sal/osl/unx/file_volume.cxx @@ -542,7 +542,7 @@ oslFileError osl_releaseVolumeDeviceHandle( oslVolumeDeviceHandle Handle ) return osl_File_E_None; } -#if !defined(MACOSX) && !defined(AIX) +#if !defined(MACOSX) && !defined(AIX) && !defined(ANDROID) /***************************************** * osl_newVolumeDeviceHandleImpl