aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorLars Persson2007-09-28 20:36:54 +0000
committerLars Persson2007-09-28 20:36:54 +0000
commitcd3e35103cf9ff355c96e10d2165f1da46e740dc (patch)
tree0166fc43052b362fee7b8838e7c41e46188cf08c /backends
parent9262b47dd2bf4e5e524c0d343cf48848a541861f (diff)
downloadscummvm-rg350-cd3e35103cf9ff355c96e10d2165f1da46e740dc.tar.gz
scummvm-rg350-cd3e35103cf9ff355c96e10d2165f1da46e740dc.tar.bz2
scummvm-rg350-cd3e35103cf9ff355c96e10d2165f1da46e740dc.zip
Symbian OS does not have ELOOP defined as an error, so #ifdef around those two cases.
svn-id: r29118
Diffstat (limited to 'backends')
-rw-r--r--backends/saves/default/default-saves.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp
index c32edd0f7a..1ffada24f9 100644
--- a/backends/saves/default/default-saves.cpp
+++ b/backends/saves/default/default-saves.cpp
@@ -161,9 +161,11 @@ Common::OutSaveFile *DefaultSaveFileManager::openForSaving(const char *filename)
case EACCES:
setError(SFM_DIR_ACCESS, Common::String("Search or write permission denied"));
break;
+#if !defined(__SYMBIAN32__)
case ELOOP:
setError(SFM_DIR_LOOP, Common::String("Too many symbolic links encountered while traversing the path"));
break;
+#endif
case ENAMETOOLONG:
setError(SFM_DIR_NAMETOOLONG, Common::String("The path name is too long"));
break;
@@ -181,9 +183,11 @@ Common::OutSaveFile *DefaultSaveFileManager::openForSaving(const char *filename)
case EMLINK:
setError(SFM_DIR_LINKMAX, Common::String("The link count of the parent directory would exceed {LINK_MAX}"));
break;
+#if !defined(__SYMBIAN32__)
case ELOOP:
setError(SFM_DIR_LOOP, Common::String("Too many symbolic links encountered while traversing the path"));
break;
+#endif
case ENAMETOOLONG:
setError(SFM_DIR_NAMETOOLONG, Common::String("The path name is too long"));
break;