summaryrefslogtreecommitdiff
path: root/win32/perllib.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/perllib.c')
-rw-r--r--win32/perllib.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/win32/perllib.c b/win32/perllib.c
index 848360698b..b1002ebb16 100644
--- a/win32/perllib.c
+++ b/win32/perllib.c
@@ -15,6 +15,14 @@ RunPerl(int argc, char **argv, char **env, void *iosubsystem)
int exitstatus;
PerlInterpreter *my_perl;
+#ifdef PERL_GLOBAL_STRUCT
+#define PERLVAR(var,type) /**/
+#define PERLVARI(var,type,init) Perl_Vars.var = init;
+#include "perlvars.h"
+#undef PERLVAR
+#undef PERLVARI
+#endif
+
PERL_SYS_INIT(&argc,&argv);
perl_init_i18nl10n(1);