This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
integrate cfgperl contents into mainline; merge conflicts
[perl5.git] / win32 / runperl.c
CommitLineData
76e3520e
GS
1#include "EXTERN.h"
2#include "perl.h"
3
a835ef8a 4#ifdef __GNUC__
5b0d9cbe
NIS
5/*
6 * GNU C does not do __declspec()
7 */
a835ef8a 8#define __declspec(foo)
5b0d9cbe
NIS
9
10/* Mingw32 defaults to globing command line
11 * This is inconsistent with other Win32 ports and
12 * seems to cause trouble with passing -DXSVERSION=\"1.6\"
13 * So we turn it off like this:
14 */
15int _CRT_glob = 0;
16
a835ef8a 17#endif
0a753a76 18
137443ea 19int
0a753a76
PP
20main(int argc, char **argv, char **env)
21{
0cb96387 22 return RunPerl(argc, argv, env);
0a753a76 23}
76e3520e 24
0cb96387 25