diff options
Diffstat (limited to 'win32/runperl.c')
-rw-r--r-- | win32/runperl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win32/runperl.c b/win32/runperl.c index 1b569d2557..336f2a87a5 100644 --- a/win32/runperl.c +++ b/win32/runperl.c @@ -28,9 +28,6 @@ xs_init(CPERLarg) CPerlObj *pPerl; -#undef PERL_SYS_INIT -#define PERL_SYS_INIT(a, c) - int main(int argc, char **argv, char **env) { @@ -48,6 +45,8 @@ main(int argc, char **argv, char **env) argv[0] = szModuleName; #endif + PERL_SYS_INIT(&argc,&argv); + if (!host.PerlCreate()) exit(exitstatus); |