summaryrefslogtreecommitdiff
path: root/src/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/dir.c b/src/dir.c
index 3e94b98e..9c5fa0a9 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -114,10 +114,6 @@ dosify (const char *filename)
#include "pathstuff.h"
#endif
-#ifdef _AMIGA
-#include <ctype.h>
-#endif
-
#ifdef HAVE_CASE_INSENSITIVE_FS
static const char *
downcase (const char *filename)
@@ -853,11 +849,7 @@ file_exists_p (const char *name)
}
#endif /* HAVE_DOS_PATHS */
if (dirend == NULL)
-#ifndef _AMIGA
return dir_file_exists_p (".", name);
-#else /* !AMIGA */
- return dir_file_exists_p ("", name);
-#endif /* AMIGA */
slash = dirend;
if (dirend == name)
@@ -927,11 +919,7 @@ file_impossible (const char *filename)
}
#endif /* HAVE_DOS_PATHS */
if (dirend == NULL)
-#ifdef _AMIGA
- dir = find_directory ("");
-#else /* !AMIGA */
dir = find_directory (".");
-#endif /* AMIGA */
else
{
const char *dirname;
@@ -1023,11 +1011,7 @@ file_impossible_p (const char *filename)
}
#endif /* HAVE_DOS_PATHS */
if (dirend == NULL)
-#ifdef _AMIGA
- dir = find_directory ("")->contents;
-#else /* !AMIGA */
dir = find_directory (".")->contents;
-#endif /* AMIGA */
else
{
const char *dirname;