switch (*s) {
case 'C':
#ifdef WIN32
- win32_argv2utf8(aTHX_ argc-1, argv+1);
+ win32_argv2utf8(argc-1, argv+1);
/* FALL THROUGH */
#endif
#ifndef PERL_STRICT_CR
}
#endif
+#ifdef PERL_OBJECT
+# undef this
+# define this pPerl
+#endif
+
static void
win32_free_argvw(pTHXo_ void *ptr)
{
}
void
-win32_argv2utf8(pTHX_ int argc, char** argv)
+win32_argv2utf8(int argc, char** argv)
{
+ dTHXo;
char* psz;
int length, wargc;
LPWSTR* lpwStr = CommandLineToArgvW(GetCommandLineW(), &wargc);
extern char * win32_get_sitelib(char *pl);
extern int IsWin95(void);
extern int IsWinNT(void);
-extern void win32_argv2utf8(pTHX_ int argc, char** argv);
+extern void win32_argv2utf8(int argc, char** argv);
extern char * staticlinkmodules[];