Mercurial > vim
diff src/vim.h @ 19013:dd9ab0674eec v8.2.0067
patch 8.2.0067: ERROR_UNKNOWN clashes on some systems
Commit: https://github.com/vim/vim/commit/ef140544f6703a7a4c0f6a15f610508ed6b09e89
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 31 21:27:13 2019 +0100
patch 8.2.0067: ERROR_UNKNOWN clashes on some systems
Problem: ERROR_UNKNOWN clashes on some systems.
Solution: Rename ERROR_ to FCERR_. (Ola S?der, closes https://github.com/vim/vim/issues/5415)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 31 Dec 2019 21:30:04 +0100 |
parents | e378907d79bf |
children | 90da7f8130ca |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -2551,15 +2551,15 @@ typedef enum { // be freed. // errors for when calling a function -#define ERROR_UNKNOWN 0 -#define ERROR_TOOMANY 1 -#define ERROR_TOOFEW 2 -#define ERROR_SCRIPT 3 -#define ERROR_DICT 4 -#define ERROR_NONE 5 -#define ERROR_OTHER 6 -#define ERROR_DELETED 7 -#define ERROR_NOTMETHOD 8 // function cannot be used as a method +#define FCERR_UNKNOWN 0 +#define FCERR_TOOMANY 1 +#define FCERR_TOOFEW 2 +#define FCERR_SCRIPT 3 +#define FCERR_DICT 4 +#define FCERR_NONE 5 +#define FCERR_OTHER 6 +#define FCERR_DELETED 7 +#define FCERR_NOTMETHOD 8 // function cannot be used as a method // flags for find_name_end() #define FNE_INCL_BR 1 // include [] in name