0
0
mirror of https://github.com/vim/vim.git synced 2025-10-10 06:24:10 -04:00

updated for version 7.3.049

Problem:    PLT has rebranded their Scheme to Racket.
Solution:   Add support for Racket 5.x. (Sergey Khorev)
This commit is contained in:
Bram Moolenaar
2010-11-03 21:59:30 +01:00
parent dba01a0197
commit 2d0860d06c
7 changed files with 129 additions and 27 deletions

View File

@@ -794,9 +794,16 @@ mzscheme_end(void)
#endif
}
#if MZSCHEME_VERSION_MAJOR >= 500 && defined(WIN32) && defined(USE_THREAD_LOCAL)
static __declspec(thread) void *tls_space;
#endif
void
mzscheme_main(void)
{
#if MZSCHEME_VERSION_MAJOR >= 500 && defined(WIN32) && defined(USE_THREAD_LOCAL)
scheme_register_tls_space(&tls_space, 0);
#endif
#if defined(MZ_PRECISE_GC) && MZSCHEME_VERSION_MAJOR >= 400
/* use trampoline for precise GC in MzScheme >= 4.x */
scheme_main_setup(TRUE, mzscheme_env_main, 0, NULL);