This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
GCC builds perl.dll and perl.exe on Win32
[perl5.git] / win32 / runperl.c
1 /* Say NO to CPP! Hallelujah! */
2 #ifdef __GNUC__
3 #define __declspec(foo) 
4 #endif
5
6 __declspec(dllimport) int RunPerl(int argc, char **argv, char **env, void *ios);
7
8 int
9 main(int argc, char **argv, char **env)
10 {
11     return RunPerl(argc, argv, env, (void*)0);
12 }