]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0621: MS-Windows: startup code can be improved v9.1.0621
authorKen Takata <kentkt@csc.jp>
Fri, 26 Jul 2024 16:46:54 +0000 (18:46 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 26 Jul 2024 16:46:54 +0000 (18:46 +0200)
commitb32d0a479d18512be551a3bca6366796c47d2633
treeb12bb57fc6b66aa5b6bf0d99cc385cfd448b460a
parentbe82825687fcf020dc79667cc1cdf62ace2215f2
patch 9.1.0621: MS-Windows: startup code can be improved

Problem:  MS-Windows: startup code can be improved
Solution: Re-work and optimize win32 startup code
          (Ken Takata)

* Revise the code and reduce #ifdefs.
* For VIMDLL, stop using the default CRT startup code to reduce the file
  size.
  The file size becomes ~130 KB -> ~34 KB on MSVC.
* Update comments. Make them consistent between os_w32dll.c and
  os_w32exe.c.

closes: #15352

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/Make_cyg_ming.mak
src/Make_mvc.mak
src/os_w32dll.c
src/os_w32exe.c
src/version.c