ef4453138d659c5c0953c5f6f89649108b759582
[p5sagit/p5-mst-13.2.git] / win32 / runperl.c
1 #include "EXTERN.h"
2 #include "perl.h"
3
4 #ifdef __GNUC__
5 /*
6  * GNU C does not do __declspec()
7  */
8 #define __declspec(foo) 
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  */
15 int _CRT_glob = 0;
16
17 #endif
18
19
20 __declspec(dllimport) int RunPerl(int argc, char **argv, char **env);
21
22 int
23 main(int argc, char **argv, char **env)
24 {
25     return RunPerl(argc, argv, env);
26 }
27
28