Need to add some more conditions to deal with the case
[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 int
20 main(int argc, char **argv, char **env)
21 {
22     return RunPerl(argc, argv, env);
23 }
24
25