Mercurial > vim
diff src/vim.h @ 19172:73f893d8776a v8.2.0145
patch 8.2.0145: using #error for compilation errors should be OK now
Commit: https://github.com/vim/vim/commit/2c02d3843a103826a3eb44357eaab09b7deb256b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 23 16:52:01 2020 +0100
patch 8.2.0145: using #error for compilation errors should be OK now
Problem: Using #error for compilation errors should be OK now.
Solution: Use #error. (Ken Takata, closes https://github.com/vim/vim/issues/5299)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Jan 2020 17:00:04 +0100 |
parents | 69f0e9b5c107 |
children | 94eda51ba9ba |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -33,7 +33,7 @@ * test program. Other items from configure may also be wrong then! */ # if (VIM_SIZEOF_INT == 0) - Error: configure did not run properly. Check auto/config.log. +# error configure did not run properly. Check auto/config.log. # endif # if (defined(__linux__) && !defined(__ANDROID__)) || defined(__CYGWIN__) @@ -148,7 +148,7 @@ #endif #if VIM_SIZEOF_INT < 4 && !defined(PROTO) - Error: Vim only works with 32 bit int or larger +# error Vim only works with 32 bit int or larger #endif /*