diff options
author | John Schmidt <john.schmidt.h@gmail.com> | 2014-03-17 11:20:25 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-05 10:01:21 -0300 |
commit | 8a0043130fed84f67c83451e675d08617216c6eb (patch) | |
tree | 0a7be28ab310891692feb2eec839a5ee06a0eccf /src | |
parent | 2fe018ab888010335ad8fc041522e2aff66c67a1 (diff) | |
download | rneovim-8a0043130fed84f67c83451e675d08617216c6eb.tar.gz rneovim-8a0043130fed84f67c83451e675d08617216c6eb.tar.bz2 rneovim-8a0043130fed84f67c83451e675d08617216c6eb.zip |
Remove Amiga stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_cmds.c | 2 | ||||
-rw-r--r-- | src/ex_cmds_defs.h | 4 | ||||
-rw-r--r-- | src/ex_docmd.c | 2 | ||||
-rw-r--r-- | src/mbyte.c | 4 | ||||
-rw-r--r-- | src/memline.c | 4 | ||||
-rw-r--r-- | src/misc1.c | 2 | ||||
-rw-r--r-- | src/undo.c | 9 |
7 files changed, 5 insertions, 22 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index cf002511c4..2e76ff5e75 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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, '|'); diff --git a/src/ex_cmds_defs.h b/src/ex_cmds_defs.h index 87f6c8c86c..5581114e95 100644 --- a/src/ex_cmds_defs.h +++ b/src/ex_cmds_defs.h @@ -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 */ diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 23d03e7b32..097b7caa1d 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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 diff --git a/src/mbyte.c b/src/mbyte.c index 29964e92d5..1af906fd2c 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -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. diff --git a/src/memline.c b/src/memline.c index 737e8e6a02..36168fac5e 100644 --- a/src/memline.c +++ b/src/memline.c @@ -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 */ diff --git a/src/misc1.c b/src/misc1.c index 0dd6e2766b..4f36b88584 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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)) diff --git a/src/undo.c b/src/undo.c index 150c31f600..81da6f8bd8 100644 --- a/src/undo.c +++ b/src/undo.c @@ -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 */ |