Mercurial > vim
view src/os_w32dll.c @ 15912:57a353715a8f v8.1.0962
patch 8.1.0962: building with MinGW and static libs doesn't work
commit https://github.com/vim/vim/commit/d91e5dafd5ec57d8e61f1a6ba3628a255785c25c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 21 13:34:07 2019 +0100
patch 8.1.0962: building with MinGW and static libs doesn't work
Problem: Building with MinGW and static libs doesn't work. (Salman Halim)
Solution: Add -lgcc. (Ken Takata)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Feb 2019 13:45:06 +0100 |
parents | 4aead6a9b7a9 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * GUI support by Robert Webb * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * Windows GUI: main program (DLL) entry point: * * Ron Aaron <ronaharon@yahoo.com> wrote this and the DLL support code. */ #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif #include <windows.h> BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { return TRUE; }