[win32] add archname to *sitearch in config.{b,g,v}c
[p5sagit/p5-mst-13.2.git] / miniperlmain.c
index 81e6493..190c7fb 100644 (file)
@@ -25,8 +25,14 @@ char **env;
 {
     int exitstatus;
 
-#ifdef USE_THREADS
-    MUTEX_INIT(&malloc_mutex); 
+#ifdef PERL_GLOBAL_STRUCT
+#define PERLVAR(var,type) /**/
+#define PERLVARI(var,type,init) Perl_Vars.var = init;
+#define PERLVARIC(var,type,init) Perl_Vars.var = init;
+#include "perlvars.h"
+#undef PERLVAR
+#undef PERLVARI
+#undef PERLVARIC
 #endif
 
     PERL_SYS_INIT(&argc,&argv);