X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2Frunperl.c;h=85fd8317593fd833e378cea1b5b2abdb232fd93d;hb=e84ac4e2e047fe0bbb7415313afdde3e76eafca7;hp=954460739f6572e61cfa455f380516915abb0767;hpb=5b0d9cbecfd90628c0e955ee142f05f9b60bcf43;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/runperl.c b/win32/runperl.c index 9544607..85fd831 100644 --- a/win32/runperl.c +++ b/win32/runperl.c @@ -1,9 +1,7 @@ -/* Say NO to CPP! Hallelujah! */ +#include "EXTERN.h" +#include "perl.h" + #ifdef __GNUC__ -/* - * GNU C does not do __declspec() - */ -#define __declspec(foo) /* Mingw32 defaults to globing command line * This is inconsistent with other Win32 ports and @@ -14,11 +12,10 @@ int _CRT_glob = 0; #endif - -__declspec(dllimport) int RunPerl(int argc, char **argv, char **env, void *ios); - int main(int argc, char **argv, char **env) { - return RunPerl(argc, argv, env, (void*)0); + return RunPerl(argc, argv, env); } + +