]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0630: MS-Windows: build fails with VIMDLL and mzscheme v9.1.0630
authorKen Takata <kentkt@csc.jp>
Sat, 27 Jul 2024 11:25:34 +0000 (13:25 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 27 Jul 2024 11:25:34 +0000 (13:25 +0200)
commitf0ce176b5ff631cbc4d149e9f6ba03e78a9bf2a6
tree6c1687d9f5ddfd115e56bde5ae257ce4ffa0a553
parent4100852e099133a0c9603e1087e5dc6d82001ce7
patch 9.1.0630: MS-Windows: build fails with VIMDLL and mzscheme

Problem:  MS-Windows: build fails with VIMDLL and mzscheme
Solution: define scheme_register_tls_space() inside gvim.exe
          and refer to it from the dll (Ken Takata).

`scheme_register_tls_space()` doesn't support a thread-local variable in
a DLL:
https://docs.racket-lang.org/inside/im_memoryalloc.html#%28cpp._scheme_register_tls_space%29

closes: #15363

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/if_mzsch.c
src/os_w32exe.c
src/version.c