diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-05-24 23:45:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-05-25 02:16:16 +0300 |
commit | b58108e84ea7a18454b2110f65ab80125181ce48 (patch) | |
tree | 30411683bf4ff5b99657fe017ff1127f3021b9ef /sal | |
parent | 7e65812a54b164452d03ac380f88317b3cc61119 (diff) |
Use the dummy floppy API implementations on iOS, too
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/file_volume.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sal/osl/unx/file_volume.cxx b/sal/osl/unx/file_volume.cxx index ca5461a15a20..b4b584decf07 100644 --- a/sal/osl/unx/file_volume.cxx +++ b/sal/osl/unx/file_volume.cxx @@ -1114,11 +1114,11 @@ osl_isFloppyMounted (oslVolumeDeviceHandleImpl* pDevice) /****************************************************************************** * - * MAC OS X FLOPPY FUNCTIONS + * MAC OS X AND IOS FLOPPY FUNCTIONS: NO FLOPPIES * *****************************************************************************/ -#if (defined(MACOSX) || defined(NETBSD) || defined(FREEBSD) || \ +#if (defined(MACOSX) || defined(IOS) || defined(NETBSD) || defined(FREEBSD) || \ defined(AIX) || defined(OPENBSD) || defined(DRAGONFLY)) static oslVolumeDeviceHandle osl_isFloppyDrive(const sal_Char* pszPath) { @@ -1127,7 +1127,7 @@ static oslVolumeDeviceHandle osl_isFloppyDrive(const sal_Char* pszPath) } #endif /* MACOSX */ -#if ( defined(MACOSX) || defined(NETBSD) || defined(FREEBSD) || \ +#if ( defined(MACOSX) || defined(IOS) || defined(NETBSD) || defined(FREEBSD) || \ defined(AIX) || defined(OPENBSD) || defined(DRAGONFLY)) static oslFileError osl_mountFloppy(oslVolumeDeviceHandle hFloppy) { @@ -1136,7 +1136,7 @@ static oslFileError osl_mountFloppy(oslVolumeDeviceHandle hFloppy) } #endif /* MACOSX */ -#if ( defined(MACOSX) || defined(NETBSD) || defined(FREEBSD) || \ +#if ( defined(MACOSX) || defined(IOS) || defined(NETBSD) || defined(FREEBSD) || \ defined(AIX) || defined(OPENBSD) || defined(DRAGONFLY)) static oslFileError osl_unmountFloppy(oslVolumeDeviceHandle hFloppy) { @@ -1145,14 +1145,14 @@ static oslFileError osl_unmountFloppy(oslVolumeDeviceHandle hFloppy) } #endif /* MACOSX */ -#if ( defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD) || defined(DRAGONFLY) ) +#if ( defined(NETBSD) || defined(IOS) || defined(FREEBSD) || defined(OPENBSD) || defined(DRAGONFLY) ) static sal_Bool osl_getFloppyMountEntry(const sal_Char* pszPath, oslVolumeDeviceHandleImpl* pItem) { return sal_False; } #endif /* NETBSD || FREEBSD || OPENBSD */ -#if ( defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD) || defined(DRAGONFLY) ) +#if ( defined(NETBSD) || defined(IOS) || defined(FREEBSD) || defined(OPENBSD) || defined(DRAGONFLY) ) static sal_Bool osl_isFloppyMounted(oslVolumeDeviceHandleImpl* pDevice) { return sal_False; |