Problem: MS-Windows: build failure when mzscheme is included
(dertuxmalwieder, after v9.1.1838)
Solution: skip specific section when PROTO is defined
(Hirohito Higashi)
fixes: #18529
closes: #18530
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
# define scheme_set_config_path dll_scheme_set_config_path
# endif
-# if MZSCHEME_VERSION_MAJOR >= 500
-# if defined(IMPLEMENT_THREAD_LOCAL_VIA_WIN_TLS) || defined(IMPLEMENT_THREAD_LOCAL_EXTERNALLY_VIA_PROC)
+# ifndef PROTO
+# if MZSCHEME_VERSION_MAJOR >= 500
+# if defined(IMPLEMENT_THREAD_LOCAL_VIA_WIN_TLS) || defined(IMPLEMENT_THREAD_LOCAL_EXTERNALLY_VIA_PROC)
// define as function for macro in schthread.h
Thread_Local_Variables *
scheme_external_get_thread_local_variables(void)
{
return dll_scheme_external_get_thread_local_variables();
}
+# endif
# endif
# endif
/* if_mzsch.c */
-Thread_Local_Variables *scheme_external_get_thread_local_variables(void);
int mzscheme_enabled(int verbose);
void mzvim_check_threads(void);
char *did_set_mzquantum(optset_T *args);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1842,
/**/
1841,
/**/