diff options
author | John Schmidt <john.schmidt.h@gmail.com> | 2014-04-20 23:57:12 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-22 08:06:06 -0300 |
commit | b10341ce5b6e0f5b1c151828416ea72991007b16 (patch) | |
tree | 862fedf0556a90400bc917c4ef7ff9a8fe022cc5 /src/vim.h | |
parent | 0072ba93612bb66e1c9411b6c497961c38b2f0e4 (diff) | |
download | rneovim-b10341ce5b6e0f5b1c151828416ea72991007b16.tar.gz rneovim-b10341ce5b6e0f5b1c151828416ea72991007b16.tar.bz2 rneovim-b10341ce5b6e0f5b1c151828416ea72991007b16.zip |
Remove sizeof(int) < 4 related code
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -1076,25 +1076,7 @@ typedef int colnr_T; /* column number type */ typedef unsigned short disptick_T; /* display tick type */ #define MAXLNUM (0x7fffffffL) /* maximum (invalid) line number */ - -/* - * Well, you won't believe it, but some S/390 machines ("host", now also known - * as zServer) use 31 bit pointers. There are also some newer machines, that - * use 64 bit pointers. I don't know how to distinguish between 31 and 64 bit - * machines, so the best way is to assume 31 bits whenever we detect OS/390 - * Unix. - * With this we restrict the maximum line length to 1073741823. I guess this is - * not a real problem. BTW: Longer lines are split. - */ -#if SIZEOF_INT >= 4 -# ifdef __MVS__ -# define MAXCOL (0x3fffffffL) /* maximum column number, 30 bits */ -# else -# define MAXCOL (0x7fffffffL) /* maximum column number, 31 bits */ -# endif -#else -# define MAXCOL (0x7fff) /* maximum column number, 15 bits */ -#endif +#define MAXCOL (0x7fffffffL) /* maximum column number, 31 bits */ #define SHOWCMD_COLS 10 /* columns needed by shown command */ #define STL_MAX_ITEM 80 /* max nr of %<flag> in statusline */ |