Remove Amiga stuff

This commit is contained in:
John Schmidt 2014-03-17 11:20:25 +01:00 committed by Thiago de Arruda
parent 2fe018ab88
commit 8a0043130f
7 changed files with 5 additions and 22 deletions

View File

@ -1376,7 +1376,7 @@ make_filter_cmd (
if (p != NULL)
*p = NUL;
}
STRCAT(buf, " <"); /* " < " causes problems on Amiga */
STRCAT(buf, " < ");
STRCAT(buf, itmp);
if (*p_shq == NUL) {
p = vim_strchr(cmd, '|');

View File

@ -28,10 +28,6 @@
* long name of the command.
*/
#ifdef RANGE
# undef RANGE /* SASC on Amiga defines it */
#endif
#define RANGE 0x001 /* allow a linespecs */
#define BANG 0x002 /* allow a ! after the command name */
#define EXTRA 0x004 /* allow extra args after command name */

View File

@ -8939,7 +8939,7 @@ static char_u *get_view_file(int c)
*s++ = '=';
} else if (vim_ispathsep(*p)) {
*s++ = '=';
#if defined(BACKSLASH_IN_FILENAME) || defined(AMIGA) || defined(VMS)
#if defined(BACKSLASH_IN_FILENAME) || defined(VMS)
if (*p == ':')
*s++ = '-';
else

View File

@ -556,7 +556,7 @@ char_u * mb_init()
else if (enc_dbcs == 0)
n = 1;
else {
# if defined(MACOS) || defined(__amigaos4__)
# if defined(MACOS)
/*
* if mblen() is not available, character which MSB is turned on
* are treated as leading byte character. (note : This assumption
@ -3857,7 +3857,7 @@ int convert_setup_ext(vcp, from, from_unicode_is_utf8, to, to_unicode_is_utf8)
return OK;
}
#if defined(FEAT_GUI) || defined(AMIGA) || defined(WIN3264) \
#if defined(FEAT_GUI) || defined(WIN3264) \
|| defined(MSDOS) || defined(PROTO)
/*
* Do conversion on typed input characters in-place.

View File

@ -75,10 +75,6 @@
# include <time.h>
#endif
#if defined(SASC) || defined(__amigaos4__)
# include <proto/dos.h> /* for Open() and Close() */
#endif
typedef struct block0 ZERO_BL; /* contents of the first block */
typedef struct pointer_block PTR_BL; /* contents of a pointer block */
typedef struct data_block DATA_BL; /* contents of a data block */

View File

@ -2949,7 +2949,7 @@ expand_env_esc (
/* if var[] ends in a path separator and tail[] starts
* with it, skip a character */
if (*var != NUL && after_pathsep(dst, dst + c)
#if defined(BACKSLASH_IN_FILENAME) || defined(AMIGA)
#if defined(BACKSLASH_IN_FILENAME)
&& dst[-1] != ':'
#endif
&& vim_ispathsep(*tail))

View File

@ -568,15 +568,6 @@ int u_savecommon(linenr_T top, linenr_T bot, linenr_T newbot, int reload)
u_getbot();
}
#if !defined(UNIX) && !defined(DJGPP) && !defined(WIN32) && !defined(__EMX__)
/*
* With Amiga and MSDOS 16 bit we can't handle big undo's, because
* then u_alloc_line would have to allocate a block larger than 32K
*/
if (size >= 8000)
goto nomem;
#endif
/*
* add lines in front of entry list
*/