diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-08 18:23:02 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-09 03:36:18 +0300 |
commit | 0f4b4c7529d6699bcae5c943a4bc27827c9aa8d6 (patch) | |
tree | 5b0984db42ef35c0fd22f7b9051e1b7b5df461ae /src/nvim/vim.h | |
parent | 8990490b50df651144658d0e68c7f582d7013376 (diff) | |
download | rneovim-0f4b4c7529d6699bcae5c943a4bc27827c9aa8d6.tar.gz rneovim-0f4b4c7529d6699bcae5c943a4bc27827c9aa8d6.tar.bz2 rneovim-0f4b4c7529d6699bcae5c943a4bc27827c9aa8d6.zip |
headers: Remove useless HAVE_CONFIG_H macros
We do not have non-cmake build options, cmake always does configure_file.
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index cc0587fb88..d92115ecdf 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -13,18 +13,16 @@ /* ============ the header file puzzle (ca. 50-100 pieces) ========= */ -#ifdef HAVE_CONFIG_H /* GNU autoconf (or something else) was here */ -# include "auto/config.h" -# define HAVE_PATHDEF +#include "auto/config.h" +#define HAVE_PATHDEF /* * Check if configure correctly managed to find sizeof(int). If this failed, * it becomes zero. This is likely a problem of not being able to run the * test program. Other items from configure may also be wrong then! */ -# if (SIZEOF_INT == 0) -Error: configure did not run properly.Check auto/config.log. -# endif +#if (SIZEOF_INT == 0) +# error Configure did not run properly. #endif #include "nvim/os/os_defs.h" /* bring lots of system header files */ |