File tcc/patches/all/tcltcc-0.4-fixstaticwin32.diff artifact 20767a1a7f part of check-in 0bb0e3a51c
diff -uNr tcltcc-0.4.orig/generic/win32/tccpe.c tcltcc-0.4-1fixstaticwin32/generic/win32/tccpe.c --- tcltcc-0.4.orig/generic/win32/tccpe.c 2007-11-07 10:04:32.000000000 -0600 +++ tcltcc-0.4-1fixstaticwin32/generic/win32/tccpe.c 2014-04-28 15:19:49.340645002 -0500 @@ -397,7 +397,7 @@ return sym_index; } -#ifdef WIN32 +#if defined(WIN32) && !defined(CONFIG_TCC_STATIC) ST void **pe_imp; ST int nb_pe_imp;