5 #ifndef BUILDVER_INCLUDED
6 #include "buildver-boehm.h"
11 * If the MONO_ENV_OPTIONS environment variable is set, it uses this as a
12 * source of command line arguments that are passed to Mono before the
13 * command line arguments specified in the command line.
16 mono_main_with_options (int argc
, char *argv
[])
18 mono_parse_env_options (&argc
, &argv
);
20 return mono_main (argc
, argv
);
35 argvw
= CommandLineToArgvW (GetCommandLine (), &argc
);
36 argv
= g_new0 (gchar
*, argc
+ 1);
37 for (i
= 0; i
< argc
; i
++)
38 argv
[i
] = g_utf16_to_utf8 (argvw
[i
], -1, NULL
, NULL
, NULL
);
43 return mono_main_with_options (argc
, argv
);
49 main (int argc
, char* argv
[])
51 mono_build_date
= build_date
;
53 return mono_main_with_options (argc
, argv
);