Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix unknown pragma warning with mingw (neovim#22533)
This checks MSVC toolchain with _MSC_VER macro before adding pragma warning directive. It is specific to MSVC and shows compiler warning with mingw gcc as following: main.c:187: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 187 | # pragma warning(suppress : 4996)
- Loading branch information