0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 9.1.1803: Amiga: build errors

Problem:  Amiga: build errors
Solution: Update preprocessor conditionals (Ola Söder).

closes: #18423

Signed-off-by: Ola Söder <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Ola Söder
2025-09-28 17:48:43 +00:00
committed by Christian Brabandt
parent 91ac18cb03
commit 02f8d2ebd5
4 changed files with 8 additions and 3 deletions

View File

@@ -2979,9 +2979,12 @@ simplify_filename(char_u *filename)
p = getnextcomp(p);
}
} while (*p != NUL);
#endif // !AMIGA
return (size_t)(p_end - filename);
#else
// Don't touch Amiga filenames
return STRLEN(filename);
#endif // !AMIGA
}
#if defined(FEAT_EVAL) || defined(PROTO)